net: bpfilter: print umh messages to /dev/kmsg
authorGary Lin <GLin@suse.com>
Fri, 5 Jul 2019 03:54:58 +0000 (03:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 05:16:11 +0000 (22:16 -0700)
commit36c4357c63f382becfe1d9775ea0872135c8a8ab
tree48d76c4ea4ebf414aedd393abb468df89e8fa90f
parent6b4ddf9950c38969f666dea1509955bd99120c4f
net: bpfilter: print umh messages to /dev/kmsg

bpfilter_umh currently printed all messages to /dev/console and this
might interfere the user activity(*).

This commit changes the output device to /dev/kmsg so that the messages
from bpfilter_umh won't show on the console directly.

(*) https://bugzilla.suse.com/show_bug.cgi?id=1140221

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/main.c