https://github.com/torvalds/linux
Revision 7f285fa78d4b81b8458f05e77fb6b46245121b4e authored by Herbert Xu on 05 July 2010, 14:50:08 UTC, committed by David S. Miller on 06 July 2010, 03:08:06 UTC
On Tue, Jul 06, 2010 at 08:48:35AM +0800, Herbert Xu wrote:
>
> bridge: Restore NULL check in br_mdb_ip_get

Resend with proper attribution.

bridge: Restore NULL check in br_mdb_ip_get

Somewhere along the line the NULL check in br_mdb_ip_get went
AWOL, causing crashes when we receive an IGMP packet with no
multicast table allocated.

This patch restores it and ensures all br_mdb_*_get functions
use it.

Reported-by: Frank Arnold <frank.arnold@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Thanks,
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bcfcc45
History
Tip revision: 7f285fa78d4b81b8458f05e77fb6b46245121b4e authored by Herbert Xu on 05 July 2010, 14:50:08 UTC
bridge br_multicast: BUG: unable to handle kernel NULL pointer dereference
Tip revision: 7f285fa
File Mode Size
Makefile -rw-r--r-- 394 bytes
compat.c -rw-r--r-- 16.9 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 5.1 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 30.4 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 3.3 KB
sem.c -rw-r--r-- 39.4 KB
shm.c -rw-r--r-- 25.8 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 22.9 KB
util.h -rw-r--r-- 5.2 KB

back to top