Home
last modified time | relevance | path

Searched hist:"29 ffe1a5c52dae13b6efead97aab9b058f38fce4" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dip_output.cdiff 29ffe1a5c52dae13b6efead97aab9b058f38fce4 Mon Jan 28 22:45:20 CST 2008 Herbert Xu <herbert@gondor.apana.org.au> [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>
/openbmc/linux/net/ipv6/
H A Dip6_output.cdiff 29ffe1a5c52dae13b6efead97aab9b058f38fce4 Mon Jan 28 22:45:20 CST 2008 Herbert Xu <herbert@gondor.apana.org.au> [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>