diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-30 00:11:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:11 -0500 |
commit | 2614fa59fa805cd488083c5602eb48533cdbc018 (patch) | |
tree | 604fcae5cb381eadb8d8e13e0bef42a7e0c13d11 /net/tipc | |
parent | 936f6f8e1bc46834bbb3e3fa3ac13ab44f1e7ba6 (diff) |
[IPCOMP]: Fetch nexthdr before ipch is destroyed
When I moved the nexthdr setting out of IPComp I accidently moved
the reading of ipch->nexthdr after the decompression. Unfortunately
this means that we'd be reading from a stale ipch pointer which
doesn't work very well.
This patch moves the reading up so that we get the correct nexthdr
value.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions