mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
3d0d26c797
commit
0392d099ab
|
@ -134,7 +134,7 @@ struct netlink_callback {
|
|||
|
||||
struct netlink_notify {
|
||||
struct net *net;
|
||||
int portid;
|
||||
u32 portid;
|
||||
int protocol;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue