diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 681a91e6b126..bfc08e839814 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -420,6 +420,7 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) to->pkt_type = from->pkt_type; to->priority = from->priority; to->protocol = from->protocol; + to->skb_iif = from->skb_iif; skb_dst_drop(to); skb_dst_copy(to, from); to->dev = from->dev;