summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_flow.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2013-04-17 06:46:57 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-19 14:57:56 -0400
commite32123e59871b9389d5b3fe9318611c7f1d1307a (patch)
tree1a16fcf51b79c5a6a955139e8829aef55fdc3880 /net/sched/cls_flow.c
parentcd967e05715489c5d1059d8d3012c747e5cfb1c4 (diff)
downloadop-kernel-dev-e32123e59871b9389d5b3fe9318611c7f1d1307a.zip
op-kernel-dev-e32123e59871b9389d5b3fe9318611c7f1d1307a.tar.gz
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/sched/cls_flow.c')
-rw-r--r--net/sched/cls_flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c
index aa36a8c..7881e2f 100644
--- a/net/sched/cls_flow.c
+++ b/net/sched/cls_flow.c
@@ -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;
}
OpenPOWER on IntegriCloud