This bug is awaiting verification that the linux-bluefield/5.4.0-1019.22
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-focal' to 'verification-done-focal'. If the
problem still exists, change the tag 'verification-needed-focal' to
'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/1940448

Title:
  CT state not reset when packet redirected to different port

Status in linux-bluefield package in Ubuntu:
  Invalid
Status in linux-bluefield source package in Focal:
  Fix Committed

Bug description:
  * Explain the bug(s)
   
  CT state not reset when packet redirected to different port, thus
  making it possible to match rules with wrong ct state on the other port.

  * brief explanation of fixes
   
  Reset ct state when redirecting to a different port.
  The sauce fix being reverted and should apply the upstream fix to catch all 
cases correctly.
   
  * How to test
   
  tc qdisc add dev veth0 clsact
  # The same with "action mirred egress mirror dev veth1" or "action mirred 
ingress redirect dev veth1"
  tc filter add dev veth0 egress chain 1 protocol ip flower ct_state +trk 
action mirred ingress mirror dev veth1
  tc filter add dev veth0 egress chain 0 protocol ip flower ct_state -inv 
action ct commit action goto chain 1
  tc qdisc add dev veth1 clsact
  tc filter add dev veth1 ingress chain 0 protocol ip flower ct_state +trk 
action drop

  ping <remove ip via veth0> &
  tc -s filter show dev veth1 ingress

  With command 'tc -s filter show', we can find the pkts were dropped on veth1.
   
  * What it could break.
   
  Wrong matching. Traffic failure when redirecting to different ports and there 
are more
  rules to match on the other port.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1940448/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to