Re: [PATCH net-next v2] r8152: add skb_cow_head

2014-03-10 Thread David Miller
From: Hayes Wang Date: Tue, 11 Mar 2014 10:20:32 +0800 > Call skb_cow_head() before editing the tx packet header. The header > would be reallocated if it is shared. > > Signed-off-by: Hayes Wang Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH net-next v2] r8152: add skb_cow_head

2014-03-10 Thread Hayes Wang
Call skb_cow_head() before editing the tx packet header. The header would be reallocated if it is shared. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c inde