]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit6eb6b431dbdd19139215cfe63b9c95f6d0670943
treebd329577450b1d152813117d47796c65a45b39d4
parent64302017dbd31bb3ff793b80db9af5712a1243a3
[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