[NETFILTER]: ipt_REJECT: fix memory corruption
authorPatrick McHardy <kaber@trash.net>
Wed, 29 Nov 2006 04:10:21 +0000 (20:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 29 Nov 2006 04:59:38 +0000 (20:59 -0800)
commitaf443b6d90de17f7630621269cf0610d9d772670
treebd329577450b1d152813117d47796c65a45b39d4
parent2e47c264a2e6ea24c27b4987607222202818c1f4
[NETFILTER]: ipt_REJECT: fix memory corruption

On devices with hard_header_len > LL_MAX_HEADER ip_route_me_harder()
reallocates the skb, leading to memory corruption when using the stale
tcph pointer to update the checksum.

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