mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-10 16:36:41 +00:00
Add some sanity checking. truesize should be at least sizeof(struct sk_buff) plus the current packet length. If not, then truesize is seriously mangled and deserves a kernel log message. Currently we'll do the check for release of stream socket buffers. But we can add checks to more spots over time. Incorporating ideas from Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
38 KiB
38 KiB