Re: tcp syn cache new and old inp variables

2016-06-27 Thread Jeremie Courreges-Anglas
Alexander Bluhm writes: > Hi, > > The variable swapping between inp, newinp and oldinpcb in syn_cache_get() > is overly complicated. Simplify the code without functional change. This looks much less confusing indeed. Note that this conflicts with your last diff to fix inp_hops. What I don't l

tcp syn cache new and old inp variables

2016-06-26 Thread Alexander Bluhm
Hi, The variable swapping between inp, newinp and oldinpcb in syn_cache_get() is overly complicated. Simplify the code without functional change. ok? bluhm Index: netinet/tcp_input.c === RCS file: /data/mirror/openbsd/cvs/src/sys/