History

net: tcp: use tcp_drop_reason() for tcp_rcv_established()

Replace tcp_drop() used in tcp_rcv_established() with tcp_drop_reason(). Following drop reasons are added: SKB_DROP_REASON_TCP_FLAGS

Menglong Dong committed 4 years ago

Commit 2a968ef1 parent 8eba65f3 files · +9 −2Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/skbuff.h+1−0
@@ -362,6 +362,7 @@ enum skb_drop_reason { · 361 unmodified lines
362362 * backlog (see
363363 * LINUX_MIB_TCPBACKLOGDROP)
364364 */
365+ SKB_DROP_REASON_TCP_FLAGS, /* TCP flags invalid */
365366 SKB_DROP_REASON_MAX,
366367 };
367368

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t