瀏覽代碼

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 年之前
父節點
當前提交
0392d099ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/netlink.h

+ 1 - 1
include/linux/netlink.h

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