]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: ipt_REJECT: properly handle IP options
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 15 Jan 2008 07:44:26 +0000 (23:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:30 +0000 (15:02 -0800)
commit6e485c2568c6b03decd80531672626b58a23546c
tree54c5aab40ef717d111deecc1f28fe3d09bda13b9
parent37fd675e50c1a20158d30b99e56a9affbfa4c572
[NETFILTER]: ipt_REJECT: properly handle IP options

The current TCP RST construction reuses the old packet and can't
deal with IP options as a consequence of that. Construct the
RST from scratch instead.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_REJECT.c