summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-09-13 16:48:41 +0300
committerDavid S. Miller <davem@davemloft.net>2023-09-16 12:10:27 +0300
commitc123e0d30bdb54a0f91ec348827eef76877165d8 (patch)
treeef95571b1f5538b29fe0adbf557bdfdb3239d96f /scripts
parent41862d12e77f78b4ecb59b028bf44de92991bda2 (diff)
downloadlinux-c123e0d30bdb54a0f91ec348827eef76877165d8.tar.xz
net: add truesize debug checks in skb_{add|coalesce}_rx_frag()
It can be time consuming to track driver bugs, that might be detected too late from this confusing warning in skb_try_coalesce() WARN_ON_ONCE(delta < len); Add sanity check in skb_add_rx_frag() and skb_coalesce_rx_frag() to better track bug origin for CONFIG_DEBUG_NET=y builds. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions