commit | 54dc79fe0d895758bdaa1dcf8512d3d21263d105 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Fri Mar 27 00:38:45 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 27 00:38:45 2009 -0700 |
tree | 8a6e73c9e3a227f420bd258d538dd525f3955f9c | |
parent | 83e0bbcbe2145f160fbaa109b0439dae7f4a38a9 [diff] |
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>