Re: [PATCH] tcp: assign the sock correctly to an outgoing SYNACK packet

David Miller
2013-04-08T19:25:55Z

From: Paul Moore <pmoore@redhat.com>
Date: Mon, 08 Apr 2013 13:22:50 -0400

> Contrary to popular belief, my goal is to not destroy the scalability and/or
> performance of our network stack, I just want to make sure we have a quality
> network stack that is not only fast and scalable, but also preserves the
> security functionality that makes Linux attractive to a number of users.

Get the violin out.

> To that end, we could put a #ifdef in the middle of
> tcp_make_synack(), but that seems very ugly to me and I think sets a
> bad precedence for the network stack and kernel as a whole.

Not an ifdef, a run time state test.