]> git.baikalelectronics.ru Git - kernel.git/commit
net: bpfilter: use cleanup callback to release umh_info
authorTaehee Yoo <ap420073@gmail.com>
Tue, 8 Jan 2019 17:24:34 +0000 (02:24 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jan 2019 02:05:41 +0000 (18:05 -0800)
commitfefc85bba2ad31701d99dacd183588e41f3c7ee9
tree7ef7c653d79db14d7eec7b445c178255a01e13d8
parent87fab5909f754c91f6ab6371b2badd46799fcae7
net: bpfilter: use cleanup callback to release umh_info

Now, UMH process is killed, do_exit() calls the umh_info->cleanup callback
to release members of the umh_info.
This patch makes bpfilter_umh's cleanup routine to use the
umh_info->cleanup callback.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpfilter.h
net/bpfilter/bpfilter_kern.c
net/ipv4/bpfilter/sockopt.c