]> git.baikalelectronics.ru Git - kernel.git/commit
pktgen: add pktgen_handle_all_threads() for the same code
authorYejune Deng <yejune.deng@gmail.com>
Mon, 7 Jun 2021 02:37:41 +0000 (10:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 20:15:31 +0000 (13:15 -0700)
commit8a00c20820dea637c54fbee3798d7c67066903d6
tree3f256ec34fa161fb60575ecb6e22758f8c3809d9
parentac97b37ef3d2b1c77f677af9cdba262fa03b3a15
pktgen: add pktgen_handle_all_threads() for the same code

The pktgen_{run, reset, stop}_all_threads() has the same code,
so add pktgen_handle_all_threads() for it.

Signed-off-by: Yejune Deng <yejune.deng@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c