Commit 18b504e2 authored by Alexey Kuznetsov's avatar Alexey Kuznetsov Committed by David S. Miller

[NETLINK]: netlink_callback structure needs 5 args not 4

net/ipv4/tcp_diag.c uses up to ->args[4]
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1d345dac
...@@ -147,7 +147,7 @@ struct netlink_callback ...@@ -147,7 +147,7 @@ struct netlink_callback
int (*dump)(struct sk_buff * skb, struct netlink_callback *cb); int (*dump)(struct sk_buff * skb, struct netlink_callback *cb);
int (*done)(struct netlink_callback *cb); int (*done)(struct netlink_callback *cb);
int family; int family;
long args[4]; long args[5];
}; };
struct netlink_notify struct netlink_notify
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment