Re: [PATCH net-next] ipvs: skb_orphan in case of forwarding

2015-07-05 Thread Julian Anastasov
Hello, On Sun, 5 Jul 2015, Alex Gartrell wrote: > + /* Remove the early_demux association unless it's bound for the > + * exact same port and address on this host after translation. > + */ > + if (!local || cp->vport != cp->dport || > + !ip_vs_addr_equal(cp->af,

[PATCH net-next] ipvs: skb_orphan in case of forwarding

2015-07-05 Thread Alex Gartrell
It is possible that we bind against a local socket in early_demux when we are actually going to want to forward it. In this case, the socket serves no purpose and only serves to confuse things (particularly functions which implicitly expect sk_fullsock to be true, like ip_local_out). Additionally,