bridge: check kmem_cache_create() error
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 7 Apr 2007 09:57:07 +0000 (18:57 +0900)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:51 +0000 (22:28 -0700)
commit87a596e0b8bc344bd6bfebe83b56d11fb79ee23a
tree4fecaa826829e73976319dea651152fe78fce0ff
parentffe1d49cc300f3dff990093aa952a2fbb371c1b6
bridge: check kmem_cache_create() error

This patch checks kmem_cache_create() error and aborts loading module
on failure.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h