]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: hv: add explanation of no-op set_multicast_list
authorBrandon Philips <brandon@ifup.org>
Mon, 15 Nov 2010 19:55:33 +0000 (11:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:06:47 +0000 (12:06 -0800)
I was going to remove netvsc_set_multicast_list() so I think it is worth
adding a comment since it isn't immediately clear why you would want
this.

Signed-off-by: Brandon Philips <brandon@ifup.org>
Acked-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc_drv.c

index 141535295a41020b7905767edad69d4156f2b143..f527e5f24f56b79cabee3cc5fd551b115bcddff9 100644 (file)
@@ -66,6 +66,9 @@ MODULE_PARM_DESC(ring_size, "Ring buffer size (# of pages)");
 /* The one and only one */
 static struct netvsc_driver_context g_netvsc_drv;
 
+/* no-op so the netdev core doesn't return -EINVAL when modifying the the
+ * multicast address list in SIOCADDMULTI. hv is setup to get all multicast
+ * when it calls RndisFilterOnOpen() */
 static void netvsc_set_multicast_list(struct net_device *net)
 {
 }