Browse Source

[NETLINK]: netlink_callback structure needs 5 args not 4

net/ipv4/tcp_diag.c uses up to ->args[4]

Signed-off-by: David S. Miller <davem@davemloft.net>
Alexey Kuznetsov 20 năm trước cách đây
mục cha
commit
18b504e25f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/linux/netlink.h

+ 1 - 1
include/linux/netlink.h

@@ -147,7 +147,7 @@ struct netlink_callback
 	int		(*dump)(struct sk_buff * skb, struct netlink_callback *cb);
 	int		(*done)(struct netlink_callback *cb);
 	int		family;
-	long		args[4];
+	long		args[5];
 };
 
 struct netlink_notify