lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 24 Aug 2020 15:53:56 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     ap420073@...il.com
Cc:     kuba@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipvlan: advertise link netns via netlink

From: Taehee Yoo <ap420073@...il.com>
Date: Fri, 21 Aug 2020 17:47:32 +0000

> Assign rtnl_link_ops->get_link_net() callback so that IFLA_LINK_NETNSID is
> added to rtnetlink messages.
> 
> Test commands:
>     ip netns add nst
>     ip link add dummy0 type dummy
>     ip link add ipvlan0 link dummy0 type ipvlan
>     ip link set ipvlan0 netns nst
>     ip netns exec nst ip link show ipvlan0
> 
> Result:
>     ---Before---
>     6: ipvlan0@if5: <BROADCAST,MULTICAST> ...
>         link/ether 82:3a:78:ab:60:50 brd ff:ff:ff:ff:ff:ff
> 
>     ---After---
>     12: ipvlan0@...1: <BROADCAST,MULTICAST> ...
>         link/ether 42:b1:ad:57:4e:27 brd ff:ff:ff:ff:ff:ff link-netnsid 0
>                                                            ~~~~~~~~~~~~~~
> 
> Signed-off-by: Taehee Yoo <ap420073@...il.com>

Applied, thank you.

Powered by blists - more mailing lists