On Thu, Jul 24, 2014 at 09:36:35AM +0100, Martin Townsend wrote:
> Signed-off-by: Martin Townsend <martin.towns...@xsilon.com>
> ---
>  net/mac802154/wpan.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
> index 3c3069f..fc6a298 100644
> --- a/net/mac802154/wpan.c
> +++ b/net/mac802154/wpan.c
> @@ -462,7 +462,10 @@ mac802154_subif_frame(struct mac802154_sub_if_data 
> *sdata, struct sk_buff *skb,
>                       skb->pkt_type = PACKET_OTHERHOST;
>               break;
>       default:
> -             break;
> +             spin_unlock_bh(&sdata->mib_lock);
> +             pr_debug("invalid dest mode\n");
> +             kfree_skb(skb);
> +             return NET_RX_DROP;
>       }
>  

Thanks, applied.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to