|
||||||||
|
|
#1
|
|
Noone could answer that shit :
If we have a look at (tcp.c) the functions tcp_recv_skb() and tcp_read_sock() (and even tcp_recvmsg()): there is a Syn check : extract from the tcp_recv_skb() : offset = seq - TCP_SKB_CB(skb)->seq; if (skb->h.th->syn) offset--; seq contains copied_seq, which refers to the last passed sequence number. But if we have not receive data (the case if we receive a SYN), the check seems useless... I don't think i'll get a reply here, but maybe ... anth0 |
![]() |
| Tags |
| code, networking, useless |
| Thread Tools | |
| Display Modes | |
|
|