diff options
| author | Menglong Dong <[email protected]> | 2022-02-20 15:06:29 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-20 13:55:31 +0000 |
| commit | 082116ffcb7457ae50e3ddb0213d66ab29408f30 (patch) | |
| tree | 468029dae429a1b4dcb81e5992ecfb8f6638086d /include/linux/timerqueue.h | |
| parent | 48c77bdf729a91fa7f65765d3f60f01e0ac320c5 (diff) | |
net: tcp: introduce tcp_drop_reason()
For TCP protocol, tcp_drop() is used to free the skb when it needs
to be dropped. To make use of kfree_skb_reason() and pass the drop
reason to it, introduce the function tcp_drop_reason(). Meanwhile,
make tcp_drop() an inline call to tcp_drop_reason().
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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions