On Tue, May 19, 2015 at 10:49:56PM +0300, Lennert Buytenhek wrote: > The proper return code for trying to send a packet that exceeds the > outgoing interface's MTU is EMSGSIZE, not EINVAL, so patch ieee802154's > raw_sendmsg() to do the right thing. (Its dgram_sendmsg() was already > returning EMSGSIZE for this case.) > > Signed-off-by: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> Nice, I never looked into the socket code deeper. But I think there are several issues (from that what I read from the mailinglist.) I also put it the opentasks section in wpan.cakelab.org that the socket code needs a big rework/cleanup. Acked-by: Alexander Aring <alex.aring@xxxxxxxxx> - 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