android_kernel_xiaomi_sm8350/net/x25
Roel Kluin 8db09f26f9 x25: '< 0' and '>= 0' test on unsigned
skb->len is an unsigned int, so the test in x25_rx_call_request() always
evaluates to true.

len in x25_sendmsg() is unsigned as well. so -ERRORS returned by x25_output()
are not noticed.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-13 16:04:12 -07:00
..
af_x25.c x25: '< 0' and '>= 0' test on unsigned 2009-03-13 16:04:12 -07:00
Kconfig
Makefile
sysctl_net_x25.c net: '&' redux 2008-11-03 18:21:05 -08:00
x25_dev.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00
x25_facilities.c [X25]: Avoid divides and sparse warnings 2008-01-28 15:02:03 -08:00
x25_forward.c [X25]: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:53 -08:00
x25_in.c [X25]: Avoid divides and sparse warnings 2008-01-28 15:02:03 -08:00
x25_link.c [X25]: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:53 -08:00
x25_out.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
x25_proc.c [X25]: Use proc_create() to setup ->proc_fops first 2008-02-28 14:16:33 -08:00
x25_route.c [X25]: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:53 -08:00
x25_subr.c [X25]: Avoid divides and sparse warnings 2008-01-28 15:02:03 -08:00
x25_timer.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00