[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)
commit9ba99b0d3f45d0aedeafce1cfa4f720b19d04477
tree54c5aab40ef717d111deecc1f28fe3d09bda13b9
parent022748a9357c4c1a0113ec1ce5612f383b80156f
[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