Bug 82101
Summary: | Strange code in /net/ipv4/tcp_output.c: tcp_send_syn_data() | ||
---|---|---|---|
Product: | Networking | Reporter: | Maks Naumov (maksqwe1) |
Component: | IPV4 | Assignee: | Stephen Hemminger (stephen) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | ycheng |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.16.0 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Maks Naumov
2014-08-10 14:37:47 UTC
Maybe it should be: TCP_SKB_CB(data)->seq++; TCP_SKB_CB(data)->tcp_flags &= ~TCPHDR_SYN; TCP_SKB_CB(data)->tcp_flags |= (TCPHDR_ACK|TCPHDR_PSH); ? Indeed that's what I intended. I can send a patch to address this. thanks for catching that. |