diff options
| author | Menglong Dong <[email protected]> | 2022-02-20 15:06:36 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-20 13:55:31 +0000 |
| commit | a7ec381049c0d1f03e342063d75f5c3b314d0ec2 (patch) | |
| tree | 3da55283aa998066521ac9367364d162a49d7cdd /include/linux/debugobjects.h | |
| parent | 2a968ef60e1fac4e694d9f60ce19a3b66b40e8c3 (diff) | |
net: tcp: use tcp_drop_reason() for tcp_data_queue()
Replace tcp_drop() used in tcp_data_queue() with tcp_drop_reason().
Following drop reasons are introduced:
SKB_DROP_REASON_TCP_ZEROWINDOW
SKB_DROP_REASON_TCP_OLD_DATA
SKB_DROP_REASON_TCP_OVERWINDOW
SKB_DROP_REASON_TCP_OLD_DATA is used for the case that end_seq of skb
less than the left edges of receive window. (Maybe there is a better
name?)
Reviewed-by: Mengen Sun <[email protected]>
Reviewed-by: Hao Peng <[email protected]>
Signed-off-by: Menglong Dong <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions