diff options
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index a768b2408edf..9b278c4ebee1 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -316,7 +316,7 @@ static inline void br_netpoll_send_skb(const struct net_bridge_port *p, | |||
316 | netpoll_send_skb(np, skb); | 316 | netpoll_send_skb(np, skb); |
317 | } | 317 | } |
318 | 318 | ||
319 | extern int br_netpoll_enable(struct net_bridge_port *p); | 319 | extern int br_netpoll_enable(struct net_bridge_port *p, gfp_t gfp); |
320 | extern void br_netpoll_disable(struct net_bridge_port *p); | 320 | extern void br_netpoll_disable(struct net_bridge_port *p); |
321 | #else | 321 | #else |
322 | static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br) | 322 | static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br) |
@@ -329,7 +329,7 @@ static inline void br_netpoll_send_skb(const struct net_bridge_port *p, | |||
329 | { | 329 | { |
330 | } | 330 | } |
331 | 331 | ||
332 | static inline int br_netpoll_enable(struct net_bridge_port *p) | 332 | static inline int br_netpoll_enable(struct net_bridge_port *p, gfp_t gfp) |
333 | { | 333 | { |
334 | return 0; | 334 | return 0; |
335 | } | 335 | } |
@@ -363,10 +363,10 @@ extern void br_fdb_update(struct net_bridge *br, | |||
363 | 363 | ||
364 | extern int br_fdb_delete(struct ndmsg *ndm, | 364 | extern int br_fdb_delete(struct ndmsg *ndm, |
365 | struct net_device *dev, | 365 | struct net_device *dev, |
366 | unsigned char *addr); | 366 | const unsigned char *addr); |
367 | extern int br_fdb_add(struct ndmsg *nlh, | 367 | extern int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], |
368 | struct net_device *dev, | 368 | struct net_device *dev, |
369 | unsigned char *addr, | 369 | const unsigned char *addr, |
370 | u16 nlh_flags); | 370 | u16 nlh_flags); |
371 | extern int br_fdb_dump(struct sk_buff *skb, | 371 | extern int br_fdb_dump(struct sk_buff *skb, |
372 | struct netlink_callback *cb, | 372 | struct netlink_callback *cb, |