Browse Source

netlink: Fix portid type in netlink_notify

portid is an unsigned integer. Fix netlink_notify to
match all other portid user in the kernel.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Richard Weinberger 10 years ago
parent
commit
0392d099ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/netlink.h

+ 1 - 1
include/linux/netlink.h

@@ -134,7 +134,7 @@ struct netlink_callback {
 
 
 struct netlink_notify {
 struct netlink_notify {
 	struct net *net;
 	struct net *net;
-	int portid;
+	u32 portid;
 	int protocol;
 	int protocol;
 };
 };