Netfilter reroute check ignores IP_PKTINFO?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running into an issue where locally generated packets with an
IP_PKTINFO ancillary message specifying a particular source interface
are getting routed incorrectly due to the reroute check.

It seems as if ip_route_me_harder takes into account iface bound sockets:

fl4.flowi4_oif = skb->sk ? skb->sk->sk_bound_dev_if : 0;

but does not take into account IP_PKTINFO, which seems inconsistent.
Is this simply an oversight or by design?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux