summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-01 21:56:41 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-01 21:56:40 -0700
commitb85e6cc250496dc59b59b536d2a7ff15e6486eb8 (patch)
tree9eab51763925622418dae16e7bff828ff9e0d3de /net
parent598f95ba6a545edcbd25688310e5a800ba70b83c (diff)
parent52d2c42bc4044dd0f78f4b1e35c3010c8b9e6b18 (diff)
Merge "xt_qtaguid: Fix panic caused by synack processing"
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_qtaguid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_qtaguid.c b/net/netfilter/xt_qtaguid.c
index e1442bfb668d..822dc3c3bce1 100644
--- a/net/netfilter/xt_qtaguid.c
+++ b/net/netfilter/xt_qtaguid.c
@@ -1689,7 +1689,7 @@ static bool qtaguid_mt(const struct sk_buff *skb, struct xt_action_param *par)
/* default: Fall through and do UID releated work */
}
- sk = skb->sk;
+ sk = skb_to_full_sk(skb);
/*
* When in TCP_TIME_WAIT the sk is not a "struct sock" but
* "struct inet_timewait_sock" which is missing fields.