Revert "bonding: fix xfrm real_dev null pointer dereference"
This reverts commit 9fa8811d1a
.
This commit is contained in:
parent
b4e9e5b37a
commit
0f85dd45e4
1 changed files with 1 additions and 0 deletions
|
@ -540,6 +540,7 @@ static void bond_ipsec_del_sa_all(struct bonding *bond)
|
|||
} else {
|
||||
slave->dev->xfrmdev_ops->xdo_dev_state_delete(ipsec->xs);
|
||||
}
|
||||
ipsec->xs->xso.real_dev = NULL;
|
||||
}
|
||||
spin_unlock_bh(&bond->ipsec_lock);
|
||||
rcu_read_unlock();
|
||||
|
|
Loading…
Reference in a new issue