diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-28 20:45:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:27:07 -0800 |
commit | 29ffe1a5c52dae13b6efead97aab9b058f38fce4 (patch) | |
tree | bcca1391f02a01cf1b2d5942a06d392ac0f5be11 /kernel | |
parent | 1987e7b4855fcb6a866d3279ee9f2890491bc34d (diff) | |
download | op-kernel-dev-29ffe1a5c52dae13b6efead97aab9b058f38fce4.zip op-kernel-dev-29ffe1a5c52dae13b6efead97aab9b058f38fce4.tar.gz |
[INET]: Prevent out-of-sync truesize on ip_fragment slow path
When ip_fragment has to hit the slow path the value of skb->truesize
may go out of sync because we would have updated it without changing
the packet length. This violates the constraints on truesize.
This patch postpones the update of skb->truesize to prevent this.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions