summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-03-04 19:24:14 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-06 08:38:02 +0300
commit3424170f37e78c9061e033ecebf42292b3939bbd (patch)
tree35760921d7b04f1f241488bd8fb62f86d685e9be /mm
parent182094348a08e712b41c0dbee92791bfa3b76d53 (diff)
downloadlinux-3424170f37e78c9061e033ecebf42292b3939bbd.tar.xz
tun: replace tun_debug() by netif_info()
The tun driver uses custom macro tun_debug() which is only available if TUN_DEBUG is set. Replace it by standard netif_ifinfo(). For that purpose, rename tun_struct::debug to msg_enable and make it u32 and always present. Finally, make tun_get_msglevel(), tun_set_msglevel() and TUNSETDEBUG ioctl independent of TUN_DEBUG. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions