[SRU] [B/C] [PATCH 0/1] Allow userspace to change tun's carrier state
Kai-Heng Feng
kai.heng.feng at canonical.com
Wed Mar 6 18:00:17 UTC 2019
BugLink: https://bugs.launchpad.net/bugs/1806392
[Impact]
Userspace cannot change tun's carrier state.
[Fix]
Add .ndo_change_carrier callback for tun.
[Test]
User confirm the backport works.
[Regression Potential]
Low. It add a new function and a new case switch for ioctl, but the new
code doesn't affect existing behavior.
Nicolas Dichtel (1):
tun: implement carrier change
drivers/net/tun.c | 27 ++++++++++++++++++++++++++-
include/uapi/linux/if_tun.h | 1 +
2 files changed, 27 insertions(+), 1 deletion(-)
--
2.17.1
More information about the kernel-team
mailing list