commit | 38f507f1ba013effec3d7deb84273ac1829e6b87 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Thu Sep 01 21:53:44 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 04 11:39:58 2016 -0700 |
tree | fb72a2befafc19018e4dd8880b39c4599df69e3d | |
parent | 76644232e6122808947aa329bb995ea68ad01442 [diff] |
vxlan: call peernet2id() in fdb notification netns id should be already allocated each time we change netns, that is, in dev_change_net_namespace() (more precisely in rtnl_fill_ifinfo()). It is safe to just call peernet2id() here. Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>