summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2022-11-06 14:31:27 +0200
committerPaolo Abeni <pabeni@redhat.com>2022-11-08 12:08:44 +0100
commit47f3ecf4763d3fea37d3453c9ee1f9f2169d71b3 (patch)
tree90403e03187c2518d8543ab37fe045d74109aee4 /net/openvswitch
parent9a0f830f80265bd1ef816e1541ac24bee80e9a3c (diff)
ethtool: Fail number of channels change when it conflicts with rxnfc
Similar to what we do with the hash indirection table [1], when network flow classification rules are forwarding traffic to channels greater than the requested number of channels, fail the operation. Without this, traffic could be directed to channels which no longer exist (dropped) after changing number of channels. [1] commit d4ab4286276f ("ethtool: correctly ensure {GS}CHANNELS doesn't conflict with GS{RXFH}") Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Gal Pressman <gal@nvidia.com> Link: https://lore.kernel.org/r/20221106123127.522985-1-gal@nvidia.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions