diff options
| author | Olof Johansson <olof@lixom.net> | 2012-11-30 09:12:33 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-11-30 09:12:33 -0800 | 
| commit | 5c1af2a7011bf719807de360cb64c2f610269a38 (patch) | |
| tree | fc4e6657d30c6eb48367c40e50c6b7428f96aaea /net/batman-adv/soft-interface.c | |
| parent | ef7848683f4de4903376638b69e6b4ac729b3ead (diff) | |
| parent | 573e5bbe653d01dc0f27e2d97754db9246b501c8 (diff) | |
| download | olio-linux-3.10-5c1af2a7011bf719807de360cb64c2f610269a38.tar.xz olio-linux-3.10-5c1af2a7011bf719807de360cb64c2f610269a38.zip  | |
Merge branch 'next/pm-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/pm
From Kukjin Kim:
* 'next/pm-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: EXYNOS: Add flush_cache_all in suspend finisher
  ARM: EXYNOS: Remove scu_enable from cpuidle
  ARM: EXYNOS: Fix soft reboot hang after suspend/resume
  ARM: EXYNOS: Add support for rtc wakeup
  ARM: EXYNOS: fix the hotplug for Cortex-A15
  + Linux 3.7-rc6
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;  |