summaryrefslogtreecommitdiff
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-03-27 00:38:45 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-27 00:38:45 -0700
commit54dc79fe0d895758bdaa1dcf8512d3d21263d105 (patch)
tree8a6e73c9e3a227f420bd258d538dd525f3955f9c /drivers/net/smsc911x.c
parent83e0bbcbe2145f160fbaa109b0439dae7f4a38a9 (diff)
downloadlinux-3.10-54dc79fe0d895758bdaa1dcf8512d3d21263d105.tar.gz
linux-3.10-54dc79fe0d895758bdaa1dcf8512d3d21263d105.tar.bz2
linux-3.10-54dc79fe0d895758bdaa1dcf8512d3d21263d105.zip
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 <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
0 files changed, 0 insertions, 0 deletions