Herbert Xu
f398035f2d
[IPSEC]: Avoid undefined shift operation when testing algorithm ID
...
The aalgos/ealgos fields are only 32 bits wide. However, af_key tries
to test them with the expression 1 << id where id can be as large as
253. This produces different behaviour on different architectures.
The following patch explicitly checks whether ID is greater than 31
and fails the check if that's the case.
We cannot easily extend the mask to be longer than 32 bits due to
exposure to user-space. Besides, this whole interface is obsolete
anyway in favour of the xfrm_user interface which doesn't use this
bit mask in templates (well not within the kernel anyway).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-19 23:44:29 -08:00
..
9p
9p: add missing end-of-options record for trans_fd
2007-11-06 08:02:53 -06:00
802
8021q
[VLAN]: Fix potential race in vlan_cleanup_module vs vlan_ioctl_handler.
2007-12-11 02:45:32 -08:00
appletalk
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
atm
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
ax25
[AX25]: Locking dependencies fix in ax25_disconnect().
2007-12-16 14:02:07 -08:00
bluetooth
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
bridge
[BRIDGE]: Assign random address.
2007-12-16 13:35:51 -08:00
core
[NET]: Fix wrong comments for unregister_net*
2007-12-11 02:45:32 -08:00
dccp
[DCCP]: Add missing "space"
2007-11-19 23:46:02 -08:00
decnet
[DECNET]: dn_nl_deladdr() almost always returns no error
2007-11-30 23:43:31 +11:00
econet
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
ethernet
[NET]: Validate device addr prior to interface-up
2007-10-23 21:27:50 -07:00
ieee80211
Merge branch 'fixes-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
2007-11-30 23:29:27 +11:00
ipv4
[IPV4] ARP: Remove not used code
2007-12-19 23:38:11 -08:00
ipv6
[IPV6]: Fix the return value of ipv6_getsockopt
2007-12-16 13:39:57 -08:00
ipx
[IPX]: Use existing sock refcnt debugging infrastructure
2007-11-10 21:39:26 -08:00
irda
[IRDA]: irda parameters warning fixes.
2007-12-16 14:10:33 -08:00
iucv
[S390] Explicitly code allocpercpu calls in iucv
2007-11-20 11:13:47 +01:00
key
[IPSEC]: Avoid undefined shift operation when testing algorithm ID
2007-12-19 23:44:29 -08:00
lapb
llc
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
mac80211
NET: mac80211: fix inappropriate memory freeing
2007-12-19 16:43:47 -08:00
netfilter
[NETFILTER]: xt_hashlimit should use time_after_eq()
2007-12-14 13:54:36 -08:00
netlabel
[NetLabel]: correct usage of RCU locking
2007-10-26 04:29:08 -07:00
netlink
[NET]: Move unneeded data to initdata section.
2007-11-13 03:23:50 -08:00
netrom
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
packet
[AF_PACKET]: Fix minor code duplication
2007-11-12 21:05:20 -08:00
rfkill
rfkill: fix double-mutex-locking
2007-11-29 18:08:48 -05:00
rose
[ROSE]: Trivial compilation CONFIG_INET=n case
2007-12-05 05:37:28 -08:00
rxrpc
[AF_RXRPC]: Add a missing goto
2007-12-07 04:31:47 -08:00
sched
[PKT_SCHED]: Check subqueue status before calling hard_start_xmit
2007-11-13 20:40:55 -08:00
sctp
[SCTP]: Flush fragment queue when exiting partial delivery.
2007-12-16 14:05:45 -08:00
sunrpc
SUNRPC xprtrdma: fix XDR tail buf marshalling for all ops
2007-12-11 22:01:59 -05:00
tipc
[TIPC]: Fix semaphore handling.
2007-12-14 13:54:37 -08:00
unix
[UNIX]: EOF on non-blocking SOCK_SEQPACKET
2007-11-29 23:19:23 +11:00
wanrouter
wireless
[WIRELESS] WEXT: Fix userspace corruption on 64-bit.
2007-11-20 03:29:53 -08:00
x25
[NET]: Forget the zero_it argument of sk_alloc()
2007-11-01 00:39:31 -07:00
xfrm
[XFRM]: Display the audited SPI value in host byte order.
2007-12-14 13:54:35 -08:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
[NET]: Add the helper kernel_sock_shutdown()
2007-11-12 18:10:39 -08:00
sysctl_net.c
TUNABLE