|
|
@@ -258,7 +258,7 @@ Signed-off-by: Steven Barth <[email protected]>
|
|
|
skb_reset_network_header(skb);
|
|
|
skb->protocol = htons(protocol);
|
|
|
memset(skb->cb, 0, sizeof(struct inet6_skb_parm));
|
|
|
-+ if (protocol == ETH_P_IP &&
|
|
|
++ if (protocol == ETH_P_IP && t->parms.fmrs &&
|
|
|
+ !ipv6_addr_equal(&ipv6h->saddr, &t->parms.raddr)) {
|
|
|
+ /* Packet didn't come from BR, so lookup FMR */
|
|
|
+ struct __ip6_tnl_fmr *fmr;
|