Bhavesh Davda e4fabf2b6e vmxnet3: prevent div-by-zero panic when ring resizing uninitialized dev
Linux is free to call ethtool ops as soon as a netdev exists when probe
finishes. However, we only allocate vmxnet3 tx/rx queues and initialize the
rx_buf_per_pkt field in struct vmxnet3_adapter when the interface is
opened (UP).

Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-07 16:10:47 -05:00
..
2012-12-03 11:16:10 -08:00
2013-02-21 13:41:04 -08:00
2013-02-21 13:41:04 -08:00
2013-02-21 13:41:04 -08:00
2013-02-27 19:10:18 -08:00
2013-02-21 12:05:51 -08:00
2012-12-28 15:24:19 -08:00
2013-01-14 15:13:39 -05:00
2013-02-27 19:10:18 -08:00
2013-01-08 17:56:10 -08:00
2013-01-20 15:48:14 -08:00