dev: advertise the new ifindex when the netns iface changes
The goal is to let the user follow an interface that moves to another netns. CC: Jiri Benc <jbenc@redhat.com> CC: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Reviewed-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
c36ac8e230
commit
38e01b3056
@@ -19,10 +19,11 @@ extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
|
||||
|
||||
void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags);
|
||||
void rtmsg_ifinfo_newnet(int type, struct net_device *dev, unsigned int change,
|
||||
gfp_t flags, int *new_nsid);
|
||||
gfp_t flags, int *new_nsid, int new_ifindex);
|
||||
struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
|
||||
unsigned change, u32 event,
|
||||
gfp_t flags, int *new_nsid);
|
||||
gfp_t flags, int *new_nsid,
|
||||
int new_ifindex);
|
||||
void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
|
||||
gfp_t flags);
|
||||
|
||||
|
Reference in New Issue
Block a user