diff options
author | Amerigo Wang <amwang@redhat.com> | 2012-08-09 22:14:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-14 14:28:23 -0700 |
commit | ee89bab14e857678f83a71ee99e575b0fdbb58d4 (patch) | |
tree | 7af6dd9ff8e565dd91fe6324861d432a0cef836d /drivers/net/virtio_net.c | |
parent | 0f48917b93414a9c306a834b1b93307383956f44 (diff) | |
download | blackbird-obmc-linux-ee89bab14e857678f83a71ee99e575b0fdbb58d4.tar.gz blackbird-obmc-linux-ee89bab14e857678f83a71ee99e575b0fdbb58d4.zip |
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>
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 83d2b0c34c5e..81a64c58e8ad 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -993,7 +993,7 @@ static void virtnet_config_changed_work(struct work_struct *work) goto done; if (v & VIRTIO_NET_S_ANNOUNCE) { - netif_notify_peers(vi->dev); + netdev_notify_peers(vi->dev); virtnet_ack_link_announce(vi); } |