Merge "xt_qtaguid: Fix panic caused by synack processing"
This commit is contained in:
commit
b85e6cc250
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue