+ virtio_net-remove-double-ether_setup.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     virtio_net: remove double ether_setup
has been added to the -mm tree.  Its filename is
     virtio_net-remove-double-ether_setup.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: virtio_net: remove double ether_setup
From: Christian Borntraeger <borntraeger@xxxxxxxxxx>

this is a CA small fix for virtio_net.  virtnet_probe already calls
alloc_etherdev, which calls ether_setup.  There is no need to do that
again.

Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/virtio_net.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/net/virtio_net.c~virtio_net-remove-double-ether_setup drivers/net/virtio_net.c
--- a/drivers/net/virtio_net.c~virtio_net-remove-double-ether_setup
+++ a/drivers/net/virtio_net.c
@@ -331,7 +331,6 @@ static int virtnet_probe(struct virtio_d
 		return -ENOMEM;
 
 	/* Set up network device as normal. */
-	ether_setup(dev);
 	dev->open = virtnet_open;
 	dev->stop = virtnet_close;
 	dev->hard_start_xmit = start_xmit;
_

Patches currently in -mm which might be from borntraeger@xxxxxxxxxx are

git-kvm.patch
virtio_net-remove-double-ether_setup.patch
git-s390.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux