You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
macvlan: Remove custom recieve and forward handlers
Since now macvlan and macvtap use the same receive and forward handlers, we can remove them completely and use netif_rx and dev_forward_skb() directly. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6acf54f1cf
commit
2f6a1b6607
@@ -400,8 +400,7 @@ static int macvtap_newlink(struct net *src_net,
|
||||
/* Don't put anything that may fail after macvlan_common_newlink
|
||||
* because we can't undo what it does.
|
||||
*/
|
||||
return macvlan_common_newlink(src_net, dev, tb, data,
|
||||
netif_rx, dev_forward_skb);
|
||||
return macvlan_common_newlink(src_net, dev, tb, data);
|
||||
}
|
||||
|
||||
static void macvtap_dellink(struct net_device *dev,
|
||||
|
||||
Reference in New Issue
Block a user