]> err.no Git - linux-2.6/commit
[SK_BUFF]: Fix missing offset adjustment in skb_copy_expand
authorPatrick McHardy <kaber@trash.net>
Wed, 11 Apr 2007 01:30:09 +0000 (18:30 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:53 +0000 (22:28 -0700)
commitefd1e8d569b3d35a3a636683c2a9ebffec9c1fcf
treef4f91e9ec30fe4cdf4a3dd36a453b2ee28e217dc
parent33036807b32d5ed1f4fdfe2d5e6bab2bb260b9f7
[SK_BUFF]: Fix missing offset adjustment in skb_copy_expand

skb_copy_expand changes the headroom, so it needs to adjust the header
offsets by the difference between the old and the new value.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c