mac802154: tx: add warning if MTU exceeds
authorAlexander Aring <alex.aring@gmail.com>
Fri, 18 Sep 2015 09:30:44 +0000 (11:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 22 Sep 2015 09:51:20 +0000 (11:51 +0200)
commit02c7b6922899621aa8e8babe27fca7b6b2e497b0
tree6b9ab5b1dac2512b6341af6dd0f7e9b2003ff6fc
parent87a93e4eceb495f93e3f37b100334d2641765b6c
mac802154: tx: add warning if MTU exceeds

Sending over AF_PACKET RAW sockets we can sending frames which exceeds
MTU size. To handling it correct we need to change things in AF_PACKET
which knows on RAW sockets an additional FCS is set by hardware or
mac802154 transmit functionality.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/tx.c