aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-04-01 17:22:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-03 17:22:11 -0400
commita748ee2426817a95b1f03012d8f339c45c722ae1 (patch)
tree37cb9f8836f05bd49b86eb52ddeff3e98185cc58 /net/packet
parent9fc4178b149ae8b0a2fbf83f2f4df3cf8789177b (diff)
net: move address list functions to a separate file
+little renaming of unicast functions to be smooth with multicast ones Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
-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 1612d417d10c..48c1e0ae565f 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1705,9 +1705,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i,
1705 if (i->alen != dev->addr_len) 1705 if (i->alen != dev->addr_len)
1706 return -EINVAL; 1706 return -EINVAL;
1707 if (what > 0) 1707 if (what > 0)
1708 return dev_unicast_add(dev, i->addr); 1708 return dev_uc_add(dev, i->addr);
1709 else 1709 else
1710 return dev_unicast_delete(dev, i->addr); 1710 return dev_uc_del(dev, i->addr);
1711 break; 1711 break;
1712 default: 1712 default:
1713 break; 1713 break;