summaryrefslogtreecommitdiffstats
path: root/drivers/atm/uPD98401.h
diff options
context:
space:
mode:
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>2014-05-14 17:43:10 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-15 15:51:43 -0400
commit1cc76e365405eae54a15e86b5d75ee885cd7d891 (patch)
tree0870bee3e462afd904eceb63e832aae521978931 /drivers/atm/uPD98401.h
parentd4b2816d67d6e07b2f27037f282d8db03a5829d7 (diff)
downloadlinux-1cc76e365405eae54a15e86b5d75ee885cd7d891.tar.gz
linux-1cc76e365405eae54a15e86b5d75ee885cd7d891.tar.bz2
linux-1cc76e365405eae54a15e86b5d75ee885cd7d891.zip
ieee802154: fix dgram socket sendmsg()
802.15.4 datagram sockets do not currently have a compliant sendmsg(). The destination address supplied is always ignored, and in unconnected mode, packets are broadcast instead of dropped with -EDESTADDRREQ. This patch fixes 802.15.4 dgram sockets to be compliant, i.e. !conn && !msg_name => -EDESTADDRREQ !conn && msg_name => send to msg_name conn && !msg_name => send to connected conn && msg_name => -EISCONN Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/uPD98401.h')
0 files changed, 0 insertions, 0 deletions