This patch adds a missing spinlock hold in the timer expire function.
The timer expire function will occur after specific timeout for
fragmented 6lowpan packets which are still in the fragment list.
Signed-off-by: Alexander Aring
---
Some little note:
Currently I working on patches for net-next
Hi,
I was wondering why the decision to stop the network tx queue is made
outside of the driver in the mac802154 device whereas with Ethernet the
decision is made at the driver layer?
Many Thanks,
Martin.
--
Managing
The RF2xy chips can be taken to RX_ON only from a certain set of states.
If the chip is running, we can always enter TRX_OFF, though, so first
enter TRX_OFF and then RX_ON.
This also fixes a bug I've experienced, in which my RF212 radio would
only receive packets after a wpan device on the radio w
This is an alternative to my previous patch for the non-receiving RF212
problem. Apparently not all state changes to RX_ON must come from
TRX_OFF, but only the *first* such change. This can either be done in
_start with another per-dev variable or in _hw_init by switching to
TRX_OFF unconditionally
From: Alexander Aring
Date: Tue, 4 Feb 2014 11:57:53 +0100
> @@ -197,7 +197,9 @@ static void lowpan_fragment_timer_expired(unsigned long
> entry_addr)
>
> pr_debug("timer expired for frame with tag %d\n", entry->tag);
>
> + spin_lock_bh(&flist_lock);
> list_del(&entry->list)
Hi David,
thanks for your reply.
On Tue, Feb 04, 2014 at 08:32:03PM -0800, David Miller wrote:
> From: Alexander Aring
> Date: Tue, 4 Feb 2014 11:57:53 +0100
>
> > @@ -197,7 +197,9 @@ static void lowpan_fragment_timer_expired(unsigned long
> > entry_addr)
> >
> > pr_debug("timer expired