Dummy TCP header

Darren J Moffat (fansari@tisl.ukans.edu)
Thu, 27 Jun 1996 23:56:01 -0500 (CDT)


Hi,
This is not a big deal, but thought could point it out anyway.
The assignement of TCP header length is repeated twice in file af_inet.c
^^^^^^
function inet_create(). (line 695 and 713 in linux-2.0)

sk->dummy_th.doff = sizeof(sk->dummy_th)/4;
.
.
.
sk->dummy_th.doff=sizeof(struct tcphdr)>>2;

Regards,

-- 
Furquan Ansari
fansari@tisl.ukans.edu
http://www.tisl.ukans.edu/~fansari/