Re: Kernel crash when using multiple interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 15, 2015 at 04:02:32PM +0100, Simon Vincent wrote:
> I tried the solution you proposed but it did not work, it resulted in a
> kernel crash (bad paging request).
> 

okay, then simple send a patch with your solution. This should only
affect driver which using xmit_sync callback anyway.

I will notice a point at your previous work.

> We require multiple 802.15.4 interfaces for routing between different
> 802.15.4 networks. We have a 802.15.4 powerline phy (Hanadu [1]) and a
> 802.15.4 radio phy (MRF24J40). On some boxes we have both phys and route
> using RPL between the powerline and radio networks.
> 

Okay, then we don't talking about multiple interfaces. We talking about
multiple phy's and that's when the issue occurs, because we have
multiple ieee802154_hw but one global ieee802154_xmit_cb.

My patch should define ieee802154_xmit_cb per ieee802154_hw instead.
Don't know what's your current issue is.

The ieee802154_xmit_cb is protected then by stop/wake queue which
garantuees that this struct isn't used twice (in case of multiple
interfaces), for multiple phy this is currently a bug.

- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux