Message ID | 1358875607.3464.4020.camel@edumazet-glaptop (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 68a43fe..4f049ee 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -114,6 +114,7 @@ static int macvlan_broadcast_one(struct sk_buff *skb, if (!skb) return NET_RX_DROP; + skb_dst_drop(skb); if (local) return vlan->forward(dev, skb); @@ -220,6 +221,7 @@ static rx_handler_result_t macvlan_handle_frame(struct sk_buff **pskb) if (!skb) goto out; + skb_dst_drop(skb); skb->dev = dev; skb->pkt_type = PACKET_HOST;