smsc95xx: Use skb_cow_head to deal with cloned skbs
The driver was failing to check that the SKB wasn't cloned before adding checksum data. Replace existing handling to extend/copy the header buffer with skb_cow_head. Signed-off-by:James Hughes <james.hughes@raspberrypi.org> Acked-by:
Eric Dumazet <edumazet@google.com> Acked-by:
Woojung Huh <Woojung.Huh@microchip.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment