]> git.baikalelectronics.ru Git - kernel.git/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)
commit0bc532bd6f509625b3b3b9d4b5662af8a93317b4
treef4f91e9ec30fe4cdf4a3dd36a453b2ee28e217dc
parenteb165c64e0dafb6eba98aee2dde3544844437237
[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