|
@@ -322,6 +322,10 @@ static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb,
|
|
if (dev_forward_skb(ipvlan->dev, skb) == NET_RX_SUCCESS)
|
|
if (dev_forward_skb(ipvlan->dev, skb) == NET_RX_SUCCESS)
|
|
success = true;
|
|
success = true;
|
|
} else {
|
|
} else {
|
|
|
|
+ if (!ether_addr_equal_64bits(eth_hdr(skb)->h_dest,
|
|
|
|
+ ipvlan->phy_dev->dev_addr))
|
|
|
|
+ skb->pkt_type = PACKET_OTHERHOST;
|
|
|
|
+
|
|
ret = RX_HANDLER_ANOTHER;
|
|
ret = RX_HANDLER_ANOTHER;
|
|
success = true;
|
|
success = true;
|
|
}
|
|
}
|