rx.c (1054ed81c4f5225d7a45fe5dec67430280bf3793) rx.c (21fdf0a1c10719f6edbb5961f5b076f5575d4bce)
1/*
2 * Copyright (C) 2007-2012 Siemens AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 226 unchanged lines hidden (view full) ---

235 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
236 if (sdata->type != IEEE802154_DEV_MONITOR ||
237 !netif_running(sdata->dev))
238 continue;
239
240 skb2 = skb_clone(skb, GFP_ATOMIC);
241 skb2->dev = sdata->dev;
242
1/*
2 * Copyright (C) 2007-2012 Siemens AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 226 unchanged lines hidden (view full) ---

235 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
236 if (sdata->type != IEEE802154_DEV_MONITOR ||
237 !netif_running(sdata->dev))
238 continue;
239
240 skb2 = skb_clone(skb, GFP_ATOMIC);
241 skb2->dev = sdata->dev;
242
243 netif_rx_ni(skb2);
243 ieee802154_deliver_skb(skb2);
244 }
245}
246
247void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
248{
249 struct ieee802154_local *local = hw_to_local(hw);
250 u16 crc;
251

--- 46 unchanged lines hidden ---
244 }
245}
246
247void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
248{
249 struct ieee802154_local *local = hw_to_local(hw);
250 u16 crc;
251

--- 46 unchanged lines hidden ---