diff options
author | Edward Cree <ecree@solarflare.com> | 2020-03-09 21:16:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-10 03:44:05 +0300 |
commit | 4b1bd9db078f7d5332c8601a2f5bd43cf0458fd4 (patch) | |
tree | 025b5e6179204b4b5664678d088bd35f6bd2f97c /Makefile | |
parent | 661388f9b0004421b2ecdeac17248bd92a3bb818 (diff) | |
download | linux-4b1bd9db078f7d5332c8601a2f5bd43cf0458fd4.tar.xz |
sfc: detach from cb_page in efx_copy_channel()
It's a resource, not a parameter, so we can't copy it into the new
channel's TX queues, otherwise aliasing will lead to resource-
management bugs if the channel is subsequently torn down without
being initialised.
Before the Fixes:-tagged commit there was a similar bug with
tsoh_page, but I'm not sure it's worth doing another fix for such
old kernels.
Fixes: e9117e5099ea ("sfc: Firmware-Assisted TSO version 2")
Suggested-by: Derek Shute <Derek.Shute@stratus.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions