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)
commit5b4cb650e569db2e6a09d2fa0ef8eb789a0ac5d8
tree7ef7c653d79db14d7eec7b445c178255a01e13d8
parent73ab1cb2de9e3efe7f818d5453de271e5371df1d
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