bridge: eliminate call by reference
Change the bridging hook to be simple function with return value rather than modifying the skb argument. This could generate better code and is cleaner. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
committed by
David S. Miller
parent
604763722c
commit
6229e362dd
@ -182,7 +182,8 @@ extern void br_features_recompute(struct net_bridge *br);
|
||||
|
||||
/* br_input.c */
|
||||
extern int br_handle_frame_finish(struct sk_buff *skb);
|
||||
extern int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb);
|
||||
extern struct sk_buff *br_handle_frame(struct net_bridge_port *p,
|
||||
struct sk_buff *skb);
|
||||
|
||||
/* br_ioctl.c */
|
||||
extern int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
||||
|
Reference in New Issue
Block a user