aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorRongwei Liu <[email protected]>2022-10-26 13:51:41 +0000
committerJakub Kicinski <[email protected]>2022-10-27 18:06:50 +0000
commit4ea9891d66410da5030dababb4b825d8e41cd7bb (patch)
treeafaea6003f34e6214f62db880c095c2116a47c21 /net/unix/sysctl_net_unix.c
parentnet/mlx5: Wait for firmware to enable CRS before pci_restore_state (diff)
downloadkernel-4ea9891d66410da5030dababb4b825d8e41cd7bb.tar.gz
kernel-4ea9891d66410da5030dababb4b825d8e41cd7bb.zip
net/mlx5: DR, Fix matcher disconnect error flow
When 2nd flow rules arrives, it will merge together with the 1st one if matcher criteria is the same. If merge fails, driver will rollback the merge contents, and reject the 2nd rule. At rollback stage, matcher can't be disconnected unconditionally, otherise the 1st rule can't be hit anymore. Add logic to check if the matcher should be disconnected or not. Fixes: cc2295cd54e4 ("net/mlx5: DR, Improve steering for empty or RX/TX-only matchers") Signed-off-by: Rongwei Liu <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions