Subject: Re: rare bad TCP checksum with 2.6.19?

From: Eric Dumazet <[email-masked]>
Date: Mon, 15 Jan 2007 19:13:19 +0100

Michael Tokarev a e'crit :
> 
> Any idea how to force sending FIN-with-data?

int flag_on = 1;
setsockopt(fd, SOL_TCP, TCP_CORK, &flag_on, sizeof(int));
send(fd, data, datalen, 0);
close(fd);

Eric Dumazet