Revert "bonding: fix null pointer deref in bond_ipsec_offload_ok"
This reverts commit 4552f9f0ae
.
This commit is contained in:
parent
0f85dd45e4
commit
6de0889cec
1 changed files with 0 additions and 2 deletions
|
@ -562,8 +562,6 @@ static bool bond_ipsec_offload_ok(struct sk_buff *skb, struct xfrm_state *xs)
|
|||
bond = netdev_priv(bond_dev);
|
||||
rcu_read_lock();
|
||||
curr_active = rcu_dereference(bond->curr_active_slave);
|
||||
if (!curr_active)
|
||||
goto out;
|
||||
real_dev = curr_active->dev;
|
||||
|
||||
if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)
|
||||
|
|
Loading…
Reference in a new issue