aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r--net/packet/af_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index c7c5d524967e..6da9f38ef5c1 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1582,9 +1582,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i,
1582 break; 1582 break;
1583 case PACKET_MR_UNICAST: 1583 case PACKET_MR_UNICAST:
1584 if (what > 0) 1584 if (what > 0)
1585 return dev_unicast_add(dev, i->addr, i->alen); 1585 return dev_unicast_add(dev, i->addr);
1586 else 1586 else
1587 return dev_unicast_delete(dev, i->addr, i->alen); 1587 return dev_unicast_delete(dev, i->addr);
1588 break; 1588 break;
1589 default:; 1589 default:;
1590 } 1590 }