Files
linux-bredos/include/linux
Eric Dumazet 1fb2d41501 net: add pskb_may_pull_reason() helper
pskb_may_pull() can fail for two different reasons.

Provide pskb_may_pull_reason() helper to distinguish
between these reasons.

It returns:

SKB_NOT_DROPPED_YET           : Success
SKB_DROP_REASON_PKT_TOO_SMALL : packet too small
SKB_DROP_REASON_NOMEM         : skb->head could not be resized

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-02-13 19:55:32 -08:00
..
2022-12-11 21:25:58 +01:00
2023-01-04 14:43:27 -07:00
2023-01-19 14:46:25 +01:00
2022-12-07 09:43:12 -07:00
2022-12-02 18:12:40 +08:00
2022-12-11 18:12:17 -08:00
2023-01-17 09:29:59 +01:00
2022-11-29 09:09:17 +11:00
2022-12-11 19:30:20 -08:00
2023-02-10 17:51:27 -08:00
2023-01-04 14:44:13 -07:00
2022-12-20 03:13:45 +01:00
2022-11-29 15:00:06 -08:00
2022-12-10 13:36:05 -05:00