android_kernel_xiaomi_sm8350/net/llc
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
..
af_llc.c [LLC]: Restrict LLC sockets to root 2008-03-27 20:28:10 -07:00
Kconfig
llc_c_ac.c [LLC]: skb allocation size for responses 2008-03-31 21:02:47 -07:00
llc_c_ev.c
llc_c_st.c
llc_conn.c
llc_core.c [LLC]: Kill llc_station_mac_sa symbol export. 2008-03-28 19:51:40 -07:00
llc_if.c
llc_input.c [LLC]: bogus llc packet length 2008-03-28 16:27:33 -07:00
llc_output.c
llc_pdu.c [LLC]: skb allocation size for responses 2008-03-31 21:02:47 -07:00
llc_proc.c [LLC]: Use proc_create() to setup ->proc_fops first 2008-02-28 14:08:54 -08:00
llc_s_ac.c [LLC]: skb allocation size for responses 2008-03-31 21:02:47 -07:00
llc_s_ev.c
llc_s_st.c
llc_sap.c [LLC]: skb allocation size for responses 2008-03-31 21:02:47 -07:00
llc_station.c [LLC]: skb allocation size for responses 2008-03-31 21:02:47 -07:00
Makefile
sysctl_net_llc.c