mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cd967e0571
commit
e32123e598
6 changed files with 9 additions and 9 deletions
|
|
@ -891,7 +891,7 @@ static int netlink_unicast_kernel(struct sock *sk, struct sk_buff *skb,
|
|||
if (nlk->netlink_rcv != NULL) {
|
||||
ret = skb->len;
|
||||
skb_set_owner_r(skb, sk);
|
||||
NETLINK_CB(skb).ssk = ssk;
|
||||
NETLINK_CB(skb).sk = ssk;
|
||||
nlk->netlink_rcv(skb);
|
||||
consume_skb(skb);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue