summaryrefslogtreecommitdiffstats
path: root/testing/linux-scst/arp.patch
blob: d2682690f5ffb673e3acc9c5bd6bbe7447cca49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index c95cd93..71ab56f 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -1200,6 +1200,9 @@ static int arp_netdev_event(struct notifier_block *this, unsigned long event, vo
 		neigh_changeaddr(&arp_tbl, dev);
 		rt_cache_flush(dev_net(dev), 0);
 		break;
+	case NETDEV_CHANGE:
+		neigh_changeaddr(&arp_tbl, dev);
+		break;
 	default:
 		break;
 	}