mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9fc4178b14
commit
a748ee2426
11 changed files with 524 additions and 464 deletions
|
|
@ -1705,9 +1705,9 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i,
|
|||
if (i->alen != dev->addr_len)
|
||||
return -EINVAL;
|
||||
if (what > 0)
|
||||
return dev_unicast_add(dev, i->addr);
|
||||
return dev_uc_add(dev, i->addr);
|
||||
else
|
||||
return dev_unicast_delete(dev, i->addr);
|
||||
return dev_uc_del(dev, i->addr);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue