Re: diff: simplify MGETHDR error handling in tcp_output

2019-11-06 Thread Jan Klemkow
Hi Lucas, On Wed, Nov 06, 2019 at 08:28:43PM +, Lucas wrote: > Jan Klemkow wrote: > > the following diff simplifies the error handling of MGETHDR() in > > tcp_output(). Jumps earlier to out, prevents a double check of NULL and > > makes the code more readable. > > > > OK? > > > > Bye, > >

Re: diff: simplify MGETHDR error handling in tcp_output

2019-11-06 Thread Lucas
Hello Jan, Jan Klemkow wrote: > Hi, > > the following diff simplifies the error handling of MGETHDR() in > tcp_output(). Jumps earlier to out, prevents a double check of NULL and > makes the code more readable. > > OK? > > Bye, > Jan > > Index: netinet/tcp_output.c >

diff: simplify MGETHDR error handling in tcp_output

2019-11-06 Thread Jan Klemkow
Hi, the following diff simplifies the error handling of MGETHDR() in tcp_output(). Jumps earlier to out, prevents a double check of NULL and makes the code more readable. OK? Bye, Jan Index: netinet/tcp_output.c === RCS file: