diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 17:02:47 +0000 | 
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 17:02:47 +0000 | 
| commit | 7730cba2a50332c194f50a58b86359ea39a82bd1 (patch) | |
| tree | 64c8d7228da1454c02288068e57a9c61f8b0acd0 /net/batman-adv/soft-interface.c | |
| parent | c20151dff8a6d503c0d0cc4387c33a618cdabcb7 (diff) | |
| parent | b69f0859dc8e633c5d8c06845811588fe17e68b3 (diff) | |
| download | olio-linux-3.10-7730cba2a50332c194f50a58b86359ea39a82bd1.tar.xz olio-linux-3.10-7730cba2a50332c194f50a58b86359ea39a82bd1.zip  | |
Merge tag 'v3.7-rc8' into spi/next
Linux 3.7-rc8
Diffstat (limited to 'net/batman-adv/soft-interface.c')
| -rw-r--r-- | net/batman-adv/soft-interface.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index b9a28d2dd3e..ce0684a1fc8 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c @@ -325,6 +325,12 @@ void batadv_interface_rx(struct net_device *soft_iface,  	soft_iface->last_rx = jiffies; +	/* Let the bridge loop avoidance check the packet. If will +	 * not handle it, we can safely push it up. +	 */ +	if (batadv_bla_rx(bat_priv, skb, vid, is_bcast)) +		goto out; +  	if (orig_node)  		batadv_tt_add_temporary_global_entry(bat_priv, orig_node,  						     ethhdr->h_source); @@ -332,12 +338,6 @@ void batadv_interface_rx(struct net_device *soft_iface,  	if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, ethhdr->h_dest))  		goto dropped; -	/* Let the bridge loop avoidance check the packet. If will -	 * not handle it, we can safely push it up. -	 */ -	if (batadv_bla_rx(bat_priv, skb, vid, is_bcast)) -		goto out; -  	netif_rx(skb);  	goto out;  |