OSDN Git Service

tcp: tcp_sendmsg() only deals with CHECKSUM_PARTIAL
authorEric Dumazet <edumazet@google.com>
Mon, 19 Feb 2018 19:56:50 +0000 (11:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 19:24:14 +0000 (14:24 -0500)
commit65ec60973af97dab72094490b4d2e9b8e169456c
treec8e2f3aa4a65758aa62f7121b16c4264eb845811
parentdead7cdb0daec58490891e59f4fae0c5c76fa5f3
tcp: tcp_sendmsg() only deals with CHECKSUM_PARTIAL

We no longer have skbs with skb->ip_summed == CHECKSUM_NONE
in TCP write queues.

We can remove dead code in tcp_sendmsg().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c