android_kernel_xiaomi_sm7250/include/net
Ralf Baechle DL5RB c7c694d196 [AX.25]: Fix potencial memory hole.
If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3
(or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall
through the switch statement without calling ax25_send_iframe() or any
other function that would eventually free skbn thus leaking the packet.

Fix by restricting the sysctl inferface to allow only actually supported
AX.25 dialects.

The system administration mistake needed for this to happen is rather
unlikely, so this is an uncritical hole.

Coverity #651.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-19 13:20:06 -08:00
..
bluetooth [Bluetooth] Reduce L2CAP MTU for RFCOMM connections 2006-02-13 11:39:57 +01:00
irda [IRDA]: Ratelimit messages. 2006-02-13 15:34:11 -08:00
netfilter [NETFILTER]: nf_conntrack: check address family when finding protocol module 2006-02-04 23:51:17 -08:00
sctp [SCTP]: Fix 'fast retransmit' to send a TSN only once. 2006-02-02 16:57:31 -08:00
tc_act
tipc [TIPC] More updates of file headers 2006-01-12 14:06:39 -08:00
act_api.h [PKT_SCHED]: Convert tc action functions to single skb pointers 2006-01-09 14:16:08 -08:00
act_generic.h
addrconf.h
af_unix.h
ah.h
arp.h
atmclip.h
ax25.h [AX.25]: Fix potencial memory hole. 2006-03-19 13:20:06 -08:00
checksum.h
compat.h
datalink.h
dn_dev.h [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 2006-01-08 20:14:07 -08:00
dn_fib.h
dn_neigh.h
dn_nsp.h [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 2006-01-08 20:14:07 -08:00
dn_route.h
dn.h
dsfield.h
dst.h [XFRM]: Netfilter IPsec output hooks 2006-01-07 12:57:28 -08:00
esp.h
flow.h
gen_stats.h
genetlink.h [PATCH] genetlink: don't touch module ref count 2006-01-13 13:06:40 -08:00
icmp.h
ieee80211_crypt.h [PATCH] hostap: don't #include C files in hostap_main.c 2006-01-16 16:51:54 -05:00
ieee80211_radiotap.h
ieee80211.h [PATCH] ieee80211: Fix A band min and max channel definitions 2006-01-27 16:49:58 -05:00
if_inet6.h
inet6_connection_sock.h
inet6_hashtables.h
inet_common.h
inet_connection_sock.h [INET]: congestion and af_ops can be const 2006-01-10 12:54:26 -08:00
inet_ecn.h
inet_hashtables.h
inet_sock.h
inet_timewait_sock.h
inetpeer.h
ip6_checksum.h
ip6_fib.h
ip6_route.h
ip6_tunnel.h
ip_fib.h
ip_mp_alg.h
ip_vs.h
ip.h [XFRM]: Fix SNAT-related crash in xfrm4_output_finish 2006-02-15 15:10:22 -08:00
ipcomp.h
ipconfig.h
ipip.h
ipv6.h [IPV4/6]: Netfilter IPsec input hooks 2006-01-07 12:57:31 -08:00
ipx.h
iw_handler.h [PATCH] iw_handler.h: SIOCSIWNAME -> SIOCSIWCOMMIT in comment 2006-01-16 16:51:53 -05:00
lapb.h
llc_c_ac.h
llc_c_ev.h
llc_c_st.h
llc_conn.h
llc_if.h
llc_pdu.h
llc_s_ac.h
llc_s_ev.h
llc_s_st.h
llc_sap.h
llc.h
ndisc.h
neighbour.h
netlink.h
netrom.h
p8022.h
pkt_act.h
pkt_cls.h
pkt_sched.h [PKT_SCHED]: Use USEC_PER_SEC 2006-01-09 14:16:05 -08:00
protocol.h [IPV6]: Move nextheader offset to the IP6CB 2006-01-07 12:57:29 -08:00
psnap.h
raw.h
rawv6.h
red.h
request_sock.h
rose.h
route.h [IPV4]: Always set fl.proto in ip_route_newports 2006-01-31 17:35:35 -08:00
sch_generic.h
scm.h
slhc_vj.h
snmp.h
sock.h [NET]: Fix race condition in sk_wait_event(). 2006-03-17 16:05:43 -08:00
syncppp.h
tcp_ecn.h
tcp_states.h
tcp.h
timewait_sock.h
transp_v6.h
udp.h
x25.h
x25device.h
xfrm.h [IPSEC]: Kill post_input hook and do NAT-T in esp_input directly 2006-02-27 13:00:40 -08:00