X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Froute.c;h=c7a806b826ddebcbab3cde45133362a3f8bbf560;hb=38177f0d626d937b43898550494220fe2b044289;hp=b873cbcdd0b8f2e2745b2be633febeabccde1db1;hpb=1a86e528e1d8818d798e89829a4a334d1c98b9d7;p=linux-2.6.git diff --git a/net/ipv4/route.c b/net/ipv4/route.c index b873cbcdd..c7a806b82 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1775,7 +1775,7 @@ static inline int __mkroute_input(struct sk_buff *skb, #endif if (in_dev->cnf.no_policy) rth->u.dst.flags |= DST_NOPOLICY; - if (in_dev->cnf.no_xfrm) + if (out_dev->cnf.no_xfrm) rth->u.dst.flags |= DST_NOXFRM; rth->fl.fl4_dst = daddr; rth->rt_dst = daddr;