Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ch9200: use skb_cow_head() to deal with cloned skbs
We need to ensure there is enough headroom to push extra header, but we also need to check if we are allowed to change headers. skb_cow_head() is the proper helper to deal with this. Fixes: 4a476bd ("usbnet: New driver for QinHeng CH9200 devices") Signed-off-by: Eric Dumazet <[email protected]> Cc: James Hughes <[email protected]> Cc: Matthew Garrett <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information