kernel_optimize_test/include
Thomas Graf d775fc09f1 [RTNETLINK] Fix RTM_MAX to represent the maximum valid message type
RTM_MAX is currently set to the maximum reserverd message type plus one
thus being the cause of two bugs for new types being assigned a) given the
new family registers only the NEW command in its reserved block the array
size for per family entries is calculated one entry short and b) given the
new family registers all commands RTM_MAX would point to the first entry
of the block following this one and the rtnetlink receive path would accept
a message type for a nonexisting family.

This patch changes RTM_MAX to point to the maximum valid message type
by aligning it to the start of the next block and subtracting one.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-05-03 14:27:35 -07:00
..
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-alpha [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-arm [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-arm26 [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-cris [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-frv [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-generic [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-h8300 [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-i386 [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-ia64 [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-m32r [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-m68k [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-m68knommu [PATCH] __attribute__ placement fixes 2005-05-01 08:59:09 -07:00
asm-mips [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-parisc [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-ppc [PATCH] ppc32: Fix might_sleep() warning with clock spreading 2005-05-02 08:15:22 -07:00
asm-ppc64 [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-s390 [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-sh [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-sh64 [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-sparc [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
asm-sparc64 [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
asm-um [PATCH] uml: commentary about forking flag 2005-05-01 08:58:56 -07:00
asm-v850 [PATCH] move SA_xxx defines to linux/signal.h 2005-05-01 08:59:02 -07:00
asm-x86_64 [PATCH] consolidate sys_shmat 2005-05-01 08:59:12 -07:00
linux [RTNETLINK] Fix RTM_MAX to represent the maximum valid message type 2005-05-03 14:27:35 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net [IPV6]: Include ipv6.h for ipv6_addr_set 2005-05-03 14:25:13 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
sound Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00