xt_qtaguid: add missing comment
Change-Id: I6d3b5ab54799b79fb6dc917d95c8d3d22ff476da
This commit is contained in:
parent
256c019758
commit
d0127ce464
|
@ -1710,6 +1710,10 @@ static struct sock *qtaguid_find_sk(const struct sk_buff *skb,
|
|||
if (sk) {
|
||||
MT_DEBUG("qtaguid[%d]: %p->sk_proto=%u->sk_state=%d\n",
|
||||
par->hooknum, sk, sk->sk_protocol, sk->sk_state);
|
||||
/*
|
||||
* When in TCP_TIME_WAIT the sk is not a "struct sock" but
|
||||
* "struct inet_timewait_sock" which is missing fields.
|
||||
*/
|
||||
if (sk->sk_state == TCP_TIME_WAIT) {
|
||||
xt_socket_put_sk(sk);
|
||||
sk = NULL;
|
||||
|
|
Loading…
Reference in New Issue