aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBhavesh Davda <[email protected]>2013-03-06 12:04:53 +0000
committerDavid S. Miller <[email protected]>2013-03-07 16:10:47 -0500
commite4fabf2b6e6d75752d5eede57f23ff8e9c6aa09b (patch)
tree9ec06708fed8c38ad59273d58a629a6852bfa577 /tools/perf/util/scripting-engines/trace-event-python.c
parentc5b156794736142fa3120d488f260ff26da3d134 (diff)
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 <[email protected]> Signed-off-by: Shreyas N Bhatewara <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions