diff options
Diffstat (limited to 'net/packet')
-rw-r--r-- | net/packet/af_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 48c1e0ae565f..b0f037cc899c 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -1691,9 +1691,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i, | |||
1691 | if (i->alen != dev->addr_len) | 1691 | if (i->alen != dev->addr_len) |
1692 | return -EINVAL; | 1692 | return -EINVAL; |
1693 | if (what > 0) | 1693 | if (what > 0) |
1694 | return dev_mc_add(dev, i->addr, i->alen, 0); | 1694 | return dev_mc_add(dev, i->addr); |
1695 | else | 1695 | else |
1696 | return dev_mc_delete(dev, i->addr, i->alen, 0); | 1696 | return dev_mc_del(dev, i->addr); |
1697 | break; | 1697 | break; |
1698 | case PACKET_MR_PROMISC: | 1698 | case PACKET_MR_PROMISC: |
1699 | return dev_set_promiscuity(dev, what); | 1699 | return dev_set_promiscuity(dev, what); |