diff options
| author | Menglong Dong <[email protected]> | 2022-04-13 16:15:55 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-13 13:09:57 +0100 |
| commit | 2edc1a383fda8d2f580216292dfd9daeae691e47 (patch) | |
| tree | 0a844bee77cd715bb3d816c086b1c9ac5d7a84c5 /tools/perf/scripts/python/libxed.py | |
| parent | 3ae42cc8092be3201093f277ac3b3d62c97a3767 (diff) | |
net: ip: add skb drop reasons to ip forwarding
Replace kfree_skb() which is used in ip6_forward() and ip_forward()
with kfree_skb_reason().
The new drop reason 'SKB_DROP_REASON_PKT_TOO_BIG' is introduced for
the case that the length of the packet exceeds MTU and can't
fragment.
Signed-off-by: Menglong Dong <[email protected]>
Reviewed-by: Jiang Biao <[email protected]>
Reviewed-by: Hao Peng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions