David S. Miller dc6de33674 [NET]: Add skb->truesize assertion checking.
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>
2006-04-20 00:10:50 -07:00
..
2006-04-09 22:25:48 -07:00
2006-01-11 18:42:14 -08:00
2006-04-18 15:57:54 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:08 -07:00
2006-03-20 22:23:58 -08:00
2006-03-20 22:23:58 -08:00
2006-03-23 01:10:26 -08:00
2006-03-23 07:12:57 -05:00
2006-01-11 18:42:14 -08:00
2006-03-31 02:09:36 -08:00
2006-03-23 07:12:57 -05:00