aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r--net/bridge/br_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c
index bfa4d8c333f7..35b94f9a1ac5 100644
--- a/net/bridge/br_input.c
+++ b/net/bridge/br_input.c
@@ -119,7 +119,7 @@ static inline int is_link_local(const unsigned char *dest)
119 * Called via br_handle_frame_hook. 119 * Called via br_handle_frame_hook.
120 * Return 0 if *pskb should be processed furthur 120 * Return 0 if *pskb should be processed furthur
121 * 1 if *pskb is handled 121 * 1 if *pskb is handled
122 * note: already called with rcu_read_lock (preempt_disabled) 122 * note: already called with rcu_read_lock (preempt_disabled)
123 */ 123 */
124int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb) 124int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb)
125{ 125{
@@ -137,7 +137,7 @@ int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb)
137 137
138 if (p->state == BR_STATE_FORWARDING || p->state == BR_STATE_LEARNING) { 138 if (p->state == BR_STATE_FORWARDING || p->state == BR_STATE_LEARNING) {
139 if (br_should_route_hook) { 139 if (br_should_route_hook) {
140 if (br_should_route_hook(pskb)) 140 if (br_should_route_hook(pskb))
141 return 0; 141 return 0;
142 skb = *pskb; 142 skb = *pskb;
143 dest = eth_hdr(skb)->h_dest; 143 dest = eth_hdr(skb)->h_dest;