Re: [PATCH net-next] tun: Consistently configure generic netdev params via rtnetlink

2018-10-15 Thread David Miller
From: Serhey Popovych Date: Tue, 9 Oct 2018 21:21:01 +0300 > Configuring generic network device parameters on tun will fail in > presence of IFLA_INFO_KIND attribute in IFLA_LINKINFO nested attribute > since tun_validate() always return failure. > > This can be visualized with following ip-link

[PATCH net-next] tun: Consistently configure generic netdev params via rtnetlink

2018-10-09 Thread Serhey Popovych
Configuring generic network device parameters on tun will fail in presence of IFLA_INFO_KIND attribute in IFLA_LINKINFO nested attribute since tun_validate() always return failure. This can be visualized with following ip-link(8) command sequences: # ip link set dev tun0 group 100 # ip link s