linux/net
Linus Torvalds caf5b04c82 x86: Work around compiler code generation bug with -Os
Some versions of gcc generate incorrect code for the inet_check_attr()
function, apparently due to a totally bogus index -> pointer comparison
transformation.

At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is
affected, possibly others too.

This changes the function subtly so that the buggy gcc transformation
doesn't trigger.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 22:08:28 -08:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [NETFILTER] x_tables: Abstraction layer for {ip,ip6,arp}_tables 2006-01-12 14:06:43 -08:00
core [NET]: Clean up comments for sk_chk_filter() 2006-01-13 14:33:06 -08:00
dccp
decnet
econet
ethernet
ieee80211 [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
ipv4 x86: Work around compiler code generation bug with -Os 2006-01-14 22:08:28 -08:00
ipv6 [XFRM]: IPsec tunnel wildcard address support 2006-01-13 14:34:36 -08:00
ipx
irda
key
lapb
llc
netfilter [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
netlink [PATCH] genetlink: don't touch module ref count 2006-01-13 13:06:40 -08:00
netrom
packet
rose
rxrpc
sched [PKT_SCHED]: Change default clock source to gettimeofday 2006-01-13 14:36:55 -08:00
sctp [NET]: Use NIP6_FMT in kernel.h 2006-01-13 14:29:07 -08:00
sunrpc
tipc [PATCH] genetlink: don't touch module ref count 2006-01-13 13:06:40 -08:00
unix
wanrouter
x25
xfrm
compat.c
Kconfig [TIPC] Initial merge 2006-01-12 14:06:31 -08:00
Makefile [TIPC] Initial merge 2006-01-12 14:06:31 -08:00
nonet.c
socket.c
sysctl_net.c
TUNABLE