diff options
author | 2008-12-07 23:53:46 -0800 | |
---|---|---|
committer | 2008-12-07 23:53:46 -0800 | |
commit | c49b9f295e513753e6d9bb4444ba502f1aa59b29 (patch) | |
tree | ce46987a31304cf239bd8ee46afbc059cefab5dc /net/unix/af_unix.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 (diff) | |
download | linux-dev-c49b9f295e513753e6d9bb4444ba502f1aa59b29.tar.xz linux-dev-c49b9f295e513753e6d9bb4444ba502f1aa59b29.zip |
tproxy: fixe a possible read from an invalid location in the socket match
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@balabit.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions