Loading drivers/net/vxlan.c +7 −2 Original line number Diff line number Diff line Loading @@ -4684,9 +4684,14 @@ static void vxlan_fdb_nh_flush(struct nexthop *nh) static int vxlan_nexthop_event(struct notifier_block *nb, unsigned long event, void *ptr) { struct nexthop *nh = ptr; struct nh_notifier_info *info = ptr; struct nexthop *nh; if (event != NEXTHOP_EVENT_DEL) return NOTIFY_DONE; if (!nh || event != NEXTHOP_EVENT_DEL) nh = nexthop_find_by_id(info->net, info->id); if (!nh) return NOTIFY_DONE; vxlan_fdb_nh_flush(nh); Loading net/ipv4/nexthop.c +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ static int call_nexthop_notifiers(struct net *net, } err = blocking_notifier_call_chain(&net->nexthop.notifier_chain, event_type, nh); event_type, &info); nh_notifier_info_fini(&info); return notifier_to_errno(err); Loading Loading
drivers/net/vxlan.c +7 −2 Original line number Diff line number Diff line Loading @@ -4684,9 +4684,14 @@ static void vxlan_fdb_nh_flush(struct nexthop *nh) static int vxlan_nexthop_event(struct notifier_block *nb, unsigned long event, void *ptr) { struct nexthop *nh = ptr; struct nh_notifier_info *info = ptr; struct nexthop *nh; if (event != NEXTHOP_EVENT_DEL) return NOTIFY_DONE; if (!nh || event != NEXTHOP_EVENT_DEL) nh = nexthop_find_by_id(info->net, info->id); if (!nh) return NOTIFY_DONE; vxlan_fdb_nh_flush(nh); Loading
net/ipv4/nexthop.c +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ static int call_nexthop_notifiers(struct net *net, } err = blocking_notifier_call_chain(&net->nexthop.notifier_chain, event_type, nh); event_type, &info); nh_notifier_info_fini(&info); return notifier_to_errno(err); Loading