]> git.hungrycats.org Git - linux/commit
[PATCH] Missing initialization of /proc/net/tcp seq_file
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Mon, 1 Dec 2003 02:40:47 +0000 (18:40 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 1 Dec 2003 02:40:47 +0000 (18:40 -0800)
commit593ba3d7f4695f6a9fdf3ba9f438b40ba0b5abe2
treefeb62d7fbcfcced029964ef2a5aa2f7aa87fd80c
parente689bf589d2284a1d366e2126859cbf95c9f2d6e
[PATCH] Missing initialization of /proc/net/tcp seq_file

We need to initialize st->state in tcp_seq_start().  Otherwise
tcp_seq_stop() is run with previous st->state, and it calls the unneeded
unlock etc, causing a kernel crash.
net/ipv4/tcp_ipv4.c