summaryrefslogtreecommitdiffstats
path: root/crypto/skcipher.c
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-01-09 07:36:27 +0100
committerJakub Kicinski <kuba@kernel.org>2022-01-10 01:30:34 +0100
commit85125597419aec3aa7b8f3b8713e415f997796f2 (patch)
tree10a76ff72bf482d9e89e41fcf4d12ca5f0194d36 /crypto/skcipher.c
parentnet: skb: introduce kfree_skb_reason() (diff)
downloadlinux-85125597419aec3aa7b8f3b8713e415f997796f2.tar.xz
linux-85125597419aec3aa7b8f3b8713e415f997796f2.zip
net: skb: use kfree_skb_reason() in tcp_v4_rcv()
Replace kfree_skb() with kfree_skb_reason() in tcp_v4_rcv(). Following drop reasons are added: SKB_DROP_REASON_NO_SOCKET SKB_DROP_REASON_PKT_TOO_SMALL SKB_DROP_REASON_TCP_CSUM SKB_DROP_REASON_TCP_FILTER After this patch, 'kfree_skb' event will print message like this: $ TASK-PID CPU# ||||| TIMESTAMP FUNCTION $ | | | ||||| | | <idle>-0 [000] ..s1. 36.113438: kfree_skb: skbaddr=(____ptrval____) protocol=2048 location=(____ptrval____) reason: NO_SOCKET The reason of skb drop is printed too. Signed-off-by: Menglong Dong <imagedong@tencent.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/skcipher.c')
0 files changed, 0 insertions, 0 deletions