Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286713
b: refs/heads/master
c: c11bf1c
h: refs/heads/master
i:
  286711: 4d76986
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Jan 24, 2012
1 parent d4f4cb6 commit 038db97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2bbba277a554431a426e81f37d5c50ab6216c07d
refs/heads/master: c11bf1c8baff170fa478adc04964da519d160e62
5 changes: 3 additions & 2 deletions trunk/drivers/net/hyperv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ static void do_set_multicast(struct work_struct *w)

nvdev = hv_get_drvdata(ndevctx->device_ctx);
if (nvdev == NULL)
return;
goto out;

rdev = nvdev->extension;
if (rdev == NULL)
return;
goto out;

if (net->flags & IFF_PROMISC)
rndis_filter_set_packet_filter(rdev,
Expand All @@ -83,6 +83,7 @@ static void do_set_multicast(struct work_struct *w)
NDIS_PACKET_TYPE_ALL_MULTICAST |
NDIS_PACKET_TYPE_DIRECTED);

out:
kfree(w);
}

Expand Down

0 comments on commit 038db97

Please sign in to comment.