net: move and rename netif_notify_peers()
I believe net/core/dev.c is a better place for netif_notify_peers(), because other net event notify functions also stay in this file. And rename it to netdev_notify_peers(). Cc: David S. Miller <davem@davemloft.net> Cc: Ian Campbell <Ian.Campbell@citrix.com> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -400,7 +400,7 @@ static void netvsc_send_garp(struct work_struct *w)
|
||||
ndev_ctx = container_of(w, struct net_device_context, dwork.work);
|
||||
net_device = hv_get_drvdata(ndev_ctx->device_ctx);
|
||||
net = net_device->ndev;
|
||||
netif_notify_peers(net);
|
||||
netdev_notify_peers(net);
|
||||
}
|
||||
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户