Skip to content

bonding: fix xfrm offload bugs

Nikolay Aleksandrov netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4bonding: fix bond_ipsec_offload_ok return typedrivers/net/bonding/bond_main.c+6 -121 replyApplied
2/4bonding: fix null pointer deref in bond_ipsec_offload_okdrivers/net/bonding/bond_main.c+2 -05 repliesApplied
3/4bonding: fix xfrm real_dev null pointer dereferencedrivers/net/bonding/bond_main.c+0 -14 repliesApplied
4/4bonding: fix xfrm state handling when clearing active slavedrivers/net/bonding/bond_options.c+1 -13 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchHangbin LiuEric Dumazet
1/4R-b
2/4R-b R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/4] bonding: fix xfrm offload bugs

Hi,
I noticed these problems while reviewing a bond xfrm patch recently. The fixes are straight-forward, please review carefully the last one because it has side-effects. This set has passed bond's selftests and my custom bond stress tests which crash without these fixes.

Note the first patch is not critical, but it simplifies the next fix.

Thanks,
Nik

Nikolay Aleksandrov (4):
bonding: fix bond_ipsec_offload_ok return type
bonding: fix null pointer deref in bond_ipsec_offload_ok
bonding: fix xfrm real_dev null pointer dereference
bonding: fix xfrm state handling when clearing active slave

 drivers/net/bonding/bond_main.c    | 21 ++++++++-------------
 drivers/net/bonding/bond_options.c |  2 +-
 2 files changed, 9 insertions(+), 14 deletions(-)
Signature · 1 line
2.44.0