diff options
author | Jarod Wilson <[email protected]> | 2020-07-08 18:58:49 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-08 16:09:07 -0700 |
commit | f548a476268d621846bb0146af861bb56250ae37 (patch) | |
tree | 1b132abdeeaf1e946b7a9b2eaba90c0d36c02759 /drivers/fpga/fpga-bridge.c | |
parent | 7d25e14eb2c0f07d10815a524542cdf681cb472c (diff) |
bonding: don't need RTNL for ipsec helpers
The bond_ipsec_* helpers don't need RTNL, and can potentially get called
without it being held, so switch from rtnl_dereference() to
rcu_dereference() to access bond struct data.
Lightly tested with xfrm bonding, no problems found, should address the
syzkaller bug referenced below.
Reported-by: [email protected]
CC: Huy Nguyen <[email protected]>
CC: Saeed Mahameed <[email protected]>
CC: Jay Vosburgh <[email protected]>
CC: Veaceslav Falico <[email protected]>
CC: Andy Gospodarek <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Jeff Kirsher <[email protected]>
CC: Jakub Kicinski <[email protected]>
CC: Steffen Klassert <[email protected]>
CC: Herbert Xu <[email protected]>
CC: [email protected]
CC: [email protected]
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions