commit | 36f913ed11340ae517af3883f70a43f41b5011d4 | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Thu Mar 19 19:21:44 2020 +0100 |
committer | Hauke Mehrtens <hauke@hauke-m.de> | Sun Apr 19 18:48:30 2020 +0200 |
tree | 06a8d96eed651032183f28b9edc3327871e73412 | |
parent | 02abf863922a6b69bbcfb6fd9fe40075cfb7c208 [diff] |
backports: patches: handle txqueue parameter in ndo_tx_timeout In upstream commit 0290bd291cc0 ("netdev: pass the stuck queue to the timeout handler") the ndo_tx_timeout callback in the net_device_ops structure got a new parameter txqueue. This patch changes the code to also work with the older interface where no txqueue was provided. The functions are sometimes used by other modules so add an EXPORT_SYMBOL_GPL to the spatch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>