Joonwoo Park f83f1768f8 [LLC]: skb allocation size for responses
Allocate the skb for llc responses with the received packet size by
using the size adjustable llc_frame_alloc.
Don't allocate useless extra payload.
Cleanup magic numbers.

So, this fixes oops.
Reported by Jim Westfall:
kernel: skb_over_panic: text:c0541fc7 len:1000 put:997 head:c166ac00 data:c166ac2f tail:0xc166b017 end:0xc166ac80 dev:eth0
kernel: ------------[ cut here ]------------
kernel: kernel BUG at net/core/skbuff.c:95!

Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-03-31 21:02:47 -07:00
..
2008-02-06 19:25:06 -06:00
2008-03-05 18:37:16 -08:00
2007-10-10 16:53:11 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2005-08-29 15:32:25 -07:00
2007-10-10 16:51:28 -07:00
2008-01-28 15:08:48 -08:00
2008-01-28 15:01:08 -08:00
2008-01-28 14:53:47 -08:00
2008-02-05 02:57:59 -08:00
2008-03-28 16:28:36 -07:00
2008-01-28 15:11:09 -08:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2007-10-07 23:44:17 -07:00
2008-01-28 15:01:48 -08:00
2008-03-26 16:51:09 -07:00