diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-04-07 05:57:07 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:28:51 -0400 |
commit | 87a596e0b8bc344bd6bfebe83b56d11fb79ee23a (patch) | |
tree | 4fecaa826829e73976319dea651152fe78fce0ff /net/bridge/br_private.h | |
parent | ffe1d49cc300f3dff990093aa952a2fbb371c1b6 (diff) |
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>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 974feccd28b1..21bf3a9a03fd 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -141,7 +141,7 @@ extern void br_dev_setup(struct net_device *dev); | |||
141 | extern int br_dev_xmit(struct sk_buff *skb, struct net_device *dev); | 141 | extern int br_dev_xmit(struct sk_buff *skb, struct net_device *dev); |
142 | 142 | ||
143 | /* br_fdb.c */ | 143 | /* br_fdb.c */ |
144 | extern void br_fdb_init(void); | 144 | extern int br_fdb_init(void); |
145 | extern void br_fdb_fini(void); | 145 | extern void br_fdb_fini(void); |
146 | extern void br_fdb_flush(struct net_bridge *br); | 146 | extern void br_fdb_flush(struct net_bridge *br); |
147 | extern void br_fdb_changeaddr(struct net_bridge_port *p, | 147 | extern void br_fdb_changeaddr(struct net_bridge_port *p, |