Revision a40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 authored by Ben Hutchings on 08 March 2013, 20:43:32 UTC, committed by Linus Torvalds on 08 March 2013, 23:05:34 UTC
Commit 9f9c9cbb6057 ("drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists") hoisted the check for "_DMI_" into dmi_scan_machine(), which means that we don't bother to check for "_DMI_" at offset 16 in an SMBIOS entry. smbios_present() may also call dmi_present() for an address where we found "_SM_", if it failed further validation. Check for "_DMI_" in smbios_present() before calling dmi_present(). [akpm@linux-foundation.org: fix build] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Reported-by: Tim McGrath <tmhikaru@gmail.com> Tested-by: Tim Mcgrath <tmhikaru@gmail.com> Cc: Zhenzhong Duan <zhenzhong.duan@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent dc893e1
File | Mode | Size |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 21.6 KB |
Makefile | -rw-r--r-- | 2.2 KB |
af_inet.c | -rw-r--r-- | 44.4 KB |
ah4.c | -rw-r--r-- | 12.5 KB |
arp.c | -rw-r--r-- | 34.6 KB |
cipso_ipv4.c | -rw-r--r-- | 63.4 KB |
datagram.c | -rw-r--r-- | 2.7 KB |
devinet.c | -rw-r--r-- | 53.3 KB |
esp4.c | -rw-r--r-- | 16.8 KB |
fib_frontend.c | -rw-r--r-- | 27.2 KB |
fib_lookup.h | -rw-r--r-- | 1.5 KB |
fib_rules.c | -rw-r--r-- | 7.2 KB |
fib_semantics.c | -rw-r--r-- | 30.9 KB |
fib_trie.c | -rw-r--r-- | 61.2 KB |
gre.c | -rw-r--r-- | 5.6 KB |
icmp.c | -rw-r--r-- | 26.2 KB |
igmp.c | -rw-r--r-- | 62.8 KB |
inet_connection_sock.c | -rw-r--r-- | 26.1 KB |
inet_diag.c | -rw-r--r-- | 28.5 KB |
inet_fragment.c | -rw-r--r-- | 6.4 KB |
inet_hashtables.c | -rw-r--r-- | 15.6 KB |
inet_lro.c | -rw-r--r-- | 13.6 KB |
inet_timewait_sock.c | -rw-r--r-- | 14.4 KB |
inetpeer.c | -rw-r--r-- | 17.8 KB |
ip_forward.c | -rw-r--r-- | 3.4 KB |
ip_fragment.c | -rw-r--r-- | 21.4 KB |
ip_gre.c | -rw-r--r-- | 45.9 KB |
ip_input.c | -rw-r--r-- | 12.9 KB |
ip_options.c | -rw-r--r-- | 15.4 KB |
ip_output.c | -rw-r--r-- | 37.9 KB |
ip_sockglue.c | -rw-r--r-- | 31.3 KB |
ip_vti.c | -rw-r--r-- | 21.6 KB |
ipcomp.c | -rw-r--r-- | 4.5 KB |
ipconfig.c | -rw-r--r-- | 38.7 KB |
ipip.c | -rw-r--r-- | 26.9 KB |
ipmr.c | -rw-r--r-- | 63.5 KB |
netfilter.c | -rw-r--r-- | 5.2 KB |
ping.c | -rw-r--r-- | 21.3 KB |
proc.c | -rw-r--r-- | 18.3 KB |
protocol.c | -rw-r--r-- | 2.4 KB |
raw.c | -rw-r--r-- | 24.9 KB |
route.c | -rw-r--r-- | 64.3 KB |
syncookies.c | -rw-r--r-- | 10.5 KB |
sysctl_net_ipv4.c | -rw-r--r-- | 21.8 KB |
tcp.c | -rw-r--r-- | 94.6 KB |
tcp_bic.c | -rw-r--r-- | 6.2 KB |
tcp_cong.c | -rw-r--r-- | 9.8 KB |
tcp_cubic.c | -rw-r--r-- | 14.0 KB |
tcp_diag.c | -rw-r--r-- | 1.8 KB |
tcp_fastopen.c | -rw-r--r-- | 2.2 KB |
tcp_highspeed.c | -rw-r--r-- | 4.9 KB |
tcp_htcp.c | -rw-r--r-- | 7.4 KB |
tcp_hybla.c | -rw-r--r-- | 4.9 KB |
tcp_illinois.c | -rw-r--r-- | 8.2 KB |
tcp_input.c | -rw-r--r-- | 174.9 KB |
tcp_ipv4.c | -rw-r--r-- | 76.0 KB |
tcp_lp.c | -rw-r--r-- | 8.8 KB |
tcp_memcontrol.c | -rw-r--r-- | 7.2 KB |
tcp_metrics.c | -rw-r--r-- | 27.0 KB |
tcp_minisocks.c | -rw-r--r-- | 24.9 KB |
tcp_output.c | -rw-r--r-- | 93.5 KB |
tcp_probe.c | -rw-r--r-- | 6.2 KB |
tcp_scalable.c | -rw-r--r-- | 1.4 KB |
tcp_timer.c | -rw-r--r-- | 18.1 KB |
tcp_vegas.c | -rw-r--r-- | 9.6 KB |
tcp_vegas.h | -rw-r--r-- | 902 bytes |
tcp_veno.c | -rw-r--r-- | 5.7 KB |
tcp_westwood.c | -rw-r--r-- | 8.0 KB |
tcp_yeah.c | -rw-r--r-- | 6.9 KB |
tunnel4.c | -rw-r--r-- | 4.1 KB |
udp.c | -rw-r--r-- | 58.7 KB |
udp_diag.c | -rw-r--r-- | 5.4 KB |
udp_impl.h | -rw-r--r-- | 1.3 KB |
udplite.c | -rw-r--r-- | 3.4 KB |
xfrm4_input.c | -rw-r--r-- | 4.1 KB |
xfrm4_mode_beet.c | -rw-r--r-- | 3.7 KB |
xfrm4_mode_transport.c | -rw-r--r-- | 2.1 KB |
xfrm4_mode_tunnel.c | -rw-r--r-- | 4.5 KB |
xfrm4_output.c | -rw-r--r-- | 2.3 KB |
xfrm4_policy.c | -rw-r--r-- | 7.2 KB |
xfrm4_state.c | -rw-r--r-- | 2.4 KB |
xfrm4_tunnel.c | -rw-r--r-- | 2.7 KB |
Computing file changes ...