Menglong Dong 2edc1a383f 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 <imagedong@tencent.com>
Reviewed-by: Jiang Biao <benbjiang@tencent.com>
Reviewed-by: Hao Peng <flyingpeng@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-13 13:09:57 +01:00
..
2022-03-17 16:34:49 -07:00
2022-03-07 11:40:41 +00:00
2022-02-25 09:36:06 +01:00
2022-04-07 21:06:41 -07:00
2022-03-11 13:00:17 -08:00
2021-06-03 15:13:56 -07:00
2022-03-03 09:55:28 +00:00
2021-07-29 15:06:49 +01:00