[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120627.011536.200113758829797507.davem@davemloft.net>
Date: Wed, 27 Jun 2012 01:15:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC] tcp demux used to signal ip_route_input_noref to not
cache dst
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 27 Jun 2012 09:52:13 +0200
> I'll test the following patch in a moment.
>
> For the moment, set nocache to true for all frames not associated to an
> ESTABLISHED socket. Not sure we want to test SYN flag after all.
Looks good.
After this change goes in I'm going to change the calling
convention, especially since I really hate functions that
return multiple values using pass-by-reference to accomplish
this.
What I plan to do is move the early socket demux before the
skb_dst()==NULL check, then we don't need the error return.
Subsequently we can return a bool which is your new nocache
value.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists