ieee802154: add dgram sockopts for security control
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Fri, 16 May 2014 15:46:41 +0000 (17:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 21:23:41 +0000 (17:23 -0400)
commitaf9eed5bbf0fb4e398081e79a707545dcca5ebda
tree9692f6122fa3b281cc89410bad98d796bfa1eace
parentf30be4d53cada48598dab0983866ae4b16af46dc
ieee802154: add dgram sockopts for security control

Allow datagram sockets to override the security settings of the device
they send from on a per-socket basis. Requires CAP_NET_ADMIN or
CAP_NET_RAW, since raw sockets can send arbitrary packets anyway.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_ieee802154.h
net/ieee802154/dgram.c