]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[REQSK]: Don't reset rskq_defer_accept in reqsk_queue_alloc
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Mon, 27 Feb 2006 21:30:43 +0000 (13:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 21:30:43 +0000 (13:30 -0800)
commitba13c98405ba44d37d148376c6615e6c8babbfdc
tree34bab6d3ae89637192fea5a7e2a59925804840ee
parentbafac2a512bf4fd2ce7520f3976ce8aab4435f74
[REQSK]: Don't reset rskq_defer_accept in reqsk_queue_alloc

In 295f7324ff8d9ea58b4d3ec93b1aaa1d80e048a9 I moved defer_accept from
tcp_sock to request_queue and mistakingly reset it at reqsl_queue_alloc, causing
calls to setsockopt(TCP_DEFER_ACCEPT ) to be lost after bind, the fix is to
remove the zeroing of rskq_defer_accept from reqsl_queue_alloc.

Thanks to Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> for
reporting and testing the suggested fix.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/request_sock.c