From: Eric Dumazet Date: Wed, 19 Apr 2017 16:59:21 +0000 (-0700) Subject: smsc75xx: use skb_cow_head() to deal with cloned skbs X-Git-Tag: v3.2.91~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c4e7212f7bc866559b19f0b97845a6484a11da;p=pandora-kernel.git smsc75xx: use skb_cow_head() to deal with cloned skbs commit b7c6d2675899cfff0180412c63fc9cbd5bacdb4d upstream. 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: d0cad871703b ("smsc75xx: SMSC LAN75xx USB gigabit ethernet adapter driver") Signed-off-by: Eric Dumazet Cc: James Hughes Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed