dev: Defer free of skbs in flush_backlog
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Thu, 23 Jul 2020 17:31:48 +0000 (11:31 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jul 2020 02:59:22 +0000 (19:59 -0700)
commit7df5cb75cfb8acf96c7f2342530eb41e0c11f4c3
tree0b5782d4828dde5370aad8f386803651288c0c1c
parentaf9f691f0f5bdd1ade65a7b84927639882d7c3e5
dev: Defer free of skbs in flush_backlog

IRQs are disabled when freeing skbs in input queue.
Use the IRQ safe variant to free skbs here.

Fixes: 145dd5f9c88f ("net: flush the softnet backlog in process context")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c