]> git.ipfire.org Git - people/arne_f/kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2020 16:47:14 +0000 (18:47 +0200)
commit9af17d113b8bcfed63290a11030f2915edbb3d14
tree22f2cdf121a26ca5156468a172f33ce305201a9b
parentf7b38459759ea5ee971c8d09328c7e5d82cae69c
dev: Defer free of skbs in flush_backlog

[ Upstream commit 7df5cb75cfb8acf96c7f2342530eb41e0c11f4c3 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/dev.c