diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-14 00:38:15 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-15 12:26:25 -0700 |
commit | 1706d58763c36133d7fce6cc78b1444fd40db28c (patch) | |
tree | e581d13cb65d85aecf795783ad0cc1e1452d84d2 /net/ipv4/ip_input.c | |
parent | e0053ec07e32ec94535c47b10af3377255f00836 (diff) | |
download | linux-1706d58763c36133d7fce6cc78b1444fd40db28c.tar.gz |
[IPV4]: Make ip_defrag return the same packet
This patch is a bit of a hack. However it is worth it if you consider that
this is the only reason why we have to carry around the struct sk_buff **
pointers in netfilter.
It makes ip_defrag always return the packet that was given to it on input.
It does this by cloning the packet and replacing its original contents with
the head fragment if necessary.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_input.c')
0 files changed, 0 insertions, 0 deletions