diff options
author | 2014-11-25 14:21:11 -0200 | |
---|---|---|
committer | 2014-11-25 15:18:45 -0500 | |
commit | a620a6bc1c94c22d6c312892be1e0ae171523125 (patch) | |
tree | 31093d51e496a0cc052c73a4f57e3141bd233d96 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tcp: fix possible NULL dereference in tcp_vX_send_reset() (diff) | |
download | wireguard-linux-a620a6bc1c94c22d6c312892be1e0ae171523125.tar.xz wireguard-linux-a620a6bc1c94c22d6c312892be1e0ae171523125.zip |
tg3: fix ring init when there are more TX than RX channels
If TX channels are set to 4 and RX channels are set to less than 4,
using ethtool -L, the driver will try to initialize more RX channels
than it has allocated, causing an oops.
This fix only initializes the RX ring if it has been allocated.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions