diff options
author | Kevin Hilman <khilman@linaro.org> | 2015-07-06 12:46:30 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-07-06 12:46:30 -0700 |
commit | 4a97d37cab1737c2d550b63e22f40f6effc445d1 (patch) | |
tree | 75436f5c71ed7cfac2402a1edd27af6ba25d0a3f /net/netfilter | |
parent | b0477f5f8ec85bf8a82f6aa6eee308d72c418032 (diff) | |
parent | 6a47a12fee7d1e842369798dc8134759561d5e75 (diff) |
Merge branch 'linux-linaro-lsk-v3.18' into linux-linaro-lsk-v3.18-android
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_cgroup.c b/net/netfilter/xt_cgroup.c index 7198d660b4de..a1d126f29463 100644 --- a/net/netfilter/xt_cgroup.c +++ b/net/netfilter/xt_cgroup.c @@ -39,7 +39,7 @@ cgroup_mt(const struct sk_buff *skb, struct xt_action_param *par) { const struct xt_cgroup_info *info = par->matchinfo; - if (skb->sk == NULL) + if (skb->sk == NULL || !sk_fullsock(skb->sk)) return false; return (info->id == skb->sk->sk_classid) ^ info->invert; |