aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorJoonwoo Park <joonwpark81@gmail.com>2008-03-31 21:02:47 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-31 21:02:47 -0700
commitf83f1768f833cb45bc93429fdc552252a4f55ac3 (patch)
tree15de7d2df2fc3a35e0a6b933bb37aefcba2cc3ef /crypto/algapi.c
parentb50660f1fe4ebd6129064e4fba0bd882b60c2425 (diff)
downloadkernel_samsung_aries-f83f1768f833cb45bc93429fdc552252a4f55ac3.zip
kernel_samsung_aries-f83f1768f833cb45bc93429fdc552252a4f55ac3.tar.gz
kernel_samsung_aries-f83f1768f833cb45bc93429fdc552252a4f55ac3.tar.bz2
[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>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions