tproxy: copy transparent flag when creating a time wait
authorKOVACS Krisztian <hidden@balabit.hu>
Tue, 18 Oct 2011 10:17:35 +0000 (10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 07:21:35 +0000 (03:21 -0400)
The transparent socket option setting was not copied to the time wait
socket when an inet socket was being replaced by a time wait socket. This
broke the --transparent option of the socket match and may have caused
that FIN packets belonging to sockets in FIN_WAIT2 or TIME_WAIT state
were being dropped by the packet filter.

Signed-off-by: KOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found