[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081207.235400.112829427.davem@davemloft.net>
Date: Sun, 07 Dec 2008 23:54:00 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bazsi@...abit.hu
Cc: netdev@...r.kernel.org, hidden@....bme.hu
Subject: Re: [PATCH] [TPROXY] fixes a possible read from an invalid
location in the socket match
From: Balazs Scheidler <bazsi@...abit.hu>
Date: Sun, 07 Dec 2008 19:43:34 +0100
> I've found this while looking for an unrelated issue. I guess this should
> still go in 2.6.28, if possible.
>
> TIME_WAIT sockets need to be handled specially, and the socket match
> casted inet_timewait_sock instances to inet_sock, which are not
> compatible.
>
> Handle this special case by checking sk->sk_state.
>
> Signed-off-by: Balazs Scheidler <bazsi@...abit.hu>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists