-
由 Yang Yingliang 提交于
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. So add all skb to a tmp list, then free them after spin_unlock_irqrestore() at once. Fixes: 66ba215c ("neigh: fix possible DoS due to net iface start/stop loop") Suggested-by: NDenis V. Lunev <den@openvz.org> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NNikolay Aleksandrov <razor@blackwall.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
d5485d9d