From: Stephen Hemminger Date: Fri, 27 Mar 2009 07:38:45 +0000 (-0700) Subject: gianfar: fix headroom expansion code X-Git-Tag: v2.6.30-rc1~642^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54dc79fe0d895758bdaa1dcf8512d3d21263d105;p=pandora-kernel.git gianfar: fix headroom expansion code The code that was added to increase headroom was wrong. It doesn't handle the case where gfar_add_fcb() changes the skb. Better to do check at start of transmit (outside of lock), where error handling is better anyway. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed