Re: [PATCH bluetooth-next] mac802154: check on len instead mac_len

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

 



Hi Alex,

> This patch change the length check to len instead of mac_len for
> checking if the frame control field is available to dereference.
> We need to change it because I saw issues with af_packet raw sockets
> and the mrf24j40 which calls this functionality. The raw socket
> functionality doesn't set the mac_len but resets the skb_mac_header to
> skb->data which is still correct. The issue occur at mrf24j40 only,
> because the driver need to evaluate the fc fields.
> 
> Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx>
> ---
> include/net/mac802154.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
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