Le 01/10/2020 à 09:59, Sabrina Dubroca a écrit : > Currently, we're not advertising link-netnsid when dumping IPv6 > addresses, so the "ip -6 addr" command will not correctly interpret > the value of the IFLA_LINK attribute. > > For example, we'll get: > 9: macvlan0@macvlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP > qlen 1000 > <snip> > > Instead of: > 9: macvlan0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen > 1000 link-netns main > <snip> > > ndisc_ifinfo_sysctl_change calls inet6_fill_ifinfo without rcu or > rtnl, so I'm adding rcu_read_lock around rtnl_fill_link_netnsid. I don't think this is needed. ndisc_ifinfo_sysctl_change() takes a reference on the idev (with in6_dev_get(dev)).
- [PATCH net 00/12] net: iflink and link-netnsid fixes Sabrina Dubroca
- [PATCH net 10/12] net: link_watch: fix detection of u... Sabrina Dubroca
- [PATCH net 04/12] rtnetlink: always put IFLA_LINK for... Sabrina Dubroca
- [PATCH net 08/12] ipv6: advertise IFLA_LINK_NETNSID w... Sabrina Dubroca
- Re: [PATCH net 08/12] ipv6: advertise IFLA_LINK_N... Nicolas Dichtel
- Re: [PATCH net 08/12] ipv6: advertise IFLA_LI... Sabrina Dubroca
- Re: [PATCH net 08/12] ipv6: advertise IFL... Nicolas Dichtel
- [PATCH net 12/12] batman-adv: fix detection of lower ... Sabrina Dubroca
- [PATCH net 07/12] ipv6: always put IFLA_LINK for devi... Sabrina Dubroca
- [PATCH net 06/12] bridge: advertise IFLA_LINK_NETNSID... Sabrina Dubroca
- [PATCH net 05/12] bridge: always put IFLA_LINK for po... Sabrina Dubroca
- [PATCH net 11/12] batman-adv: fix iflink detection in... Sabrina Dubroca
- [PATCH net 02/12] geneve: add get_link_net Sabrina Dubroca
- [PATCH net 03/12] Revert "rtnetlink: always put ... Sabrina Dubroca
- [PATCH net 09/12] net: link_watch: fix operstate when... Sabrina Dubroca