diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-27 08:38:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-27 08:38:45 +0100 |
commit | 54dc79fe0d895758bdaa1dcf8512d3d21263d105 (patch) | |
tree | 8a6e73c9e3a227f420bd258d538dd525f3955f9c /drivers/net/smsc911x.c | |
parent | af_rose/x25: Sanity check the maximum user frame size (diff) | |
download | linux-54dc79fe0d895758bdaa1dcf8512d3d21263d105.tar.xz linux-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