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>
This commit is contained in:
committed by
David S. Miller
parent
cd967e0571
commit
e32123e598
@@ -393,7 +393,7 @@ static int flow_change(struct net *net, struct sk_buff *in_skb,
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
if ((keymask & (FLOW_KEY_SKUID|FLOW_KEY_SKGID)) &&
|
||||
sk_user_ns(NETLINK_CB(in_skb).ssk) != &init_user_ns)
|
||||
sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns)
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user