mirror of https://gitee.com/openkylin/linux.git
1cc76e3654
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> |
||
---|---|---|
.. | ||
6lowpan_iphc.c | ||
6lowpan_rtnl.c | ||
Kconfig | ||
Makefile | ||
af802154.h | ||
af_ieee802154.c | ||
dgram.c | ||
header_ops.c | ||
ieee802154.h | ||
netlink.c | ||
nl-mac.c | ||
nl-phy.c | ||
nl_policy.c | ||
raw.c | ||
reassembly.c | ||
reassembly.h | ||
wpan-class.c |