Patrick McHardy wrote: > lepton wrote: > >>Hi, >> For local src packets, it is better to update sk_route_caps in >> ip_route_me_harder. > > > > This seems like a good idea to me. But why only for local src > (address) packets? This function can also be used for locally > generated packet that have been (f.i.) NATed to a foreign > address ...
Actually, I'm afraid it might break some setups. Rerouting is done per packet, but if we cache the dst_entry for the socket, all packets from that socket will be routed similar. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html