diff options
author | Patrick McHardy <kaber@trash.net> | 2013-04-17 02:46:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-19 14:57:56 -0400 |
commit | e32123e59871b9389d5b3fe9318611c7f1d1307a (patch) | |
tree | 1a16fcf51b79c5a6a955139e8829aef55fdc3880 /net/netlink | |
parent | cd967e05715489c5d1059d8d3012c747e5cfb1c4 (diff) |
netlink: rename ssk to sk in struct netlink_skb_params
Memory mapped netlink needs to store the receiving userspace socket
when sending from the kernel to userspace. Rename 'ssk' to 'sk' to
avoid confusion.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index f20a81005177..978a61f7c87f 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -891,7 +891,7 @@ static int netlink_unicast_kernel(struct sock *sk, struct sk_buff *skb, | |||
891 | if (nlk->netlink_rcv != NULL) { | 891 | if (nlk->netlink_rcv != NULL) { |
892 | ret = skb->len; | 892 | ret = skb->len; |
893 | skb_set_owner_r(skb, sk); | 893 | skb_set_owner_r(skb, sk); |
894 | NETLINK_CB(skb).ssk = ssk; | 894 | NETLINK_CB(skb).sk = ssk; |
895 | nlk->netlink_rcv(skb); | 895 | nlk->netlink_rcv(skb); |
896 | consume_skb(skb); | 896 | consume_skb(skb); |
897 | } else { | 897 | } else { |