[PATCH 1/1] Staging: hv: Fix a bug affecting IPv6

From: Haiyang Zhang
Date: Mon Apr 19 2010 - 11:37:30 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Fix a bug affecting IPv6
Added the multicast flag for proper IPv6 function.
Credits go to Toshikazu Sakai <toshikas@xxxxxxxxxxxxx>

Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
Cc: Toshikazu Sakai <toshikas@xxxxxxxxxxxxx>
Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

---
drivers/staging/hv/RndisFilter.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c
index cd2930d..6704f64 100644
--- a/drivers/staging/hv/RndisFilter.c
+++ b/drivers/staging/hv/RndisFilter.c
@@ -751,6 +751,7 @@ static int RndisFilterOpenDevice(struct rndis_device *Device)

ret = RndisFilterSetPacketFilter(Device,
NDIS_PACKET_TYPE_BROADCAST |
+ NDIS_PACKET_TYPE_ALL_MULTICAST |
NDIS_PACKET_TYPE_DIRECTED);
if (ret == 0)
Device->State = RNDIS_DEV_DATAINITIALIZED;
--
1.6.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/