aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2016-01-29 11:30:20 +0000
committerDavid S. Miller <[email protected]>2016-01-30 04:31:26 +0000
commit1cdda91871470f15e79375991bd2eddc6e86ddb1 (patch)
tree1b85e50c353077ae7e06e932cbc456c10972227b /net/bluetooth/hci_request.c
parentipv6: enforce flowi6_oif usage in ip6_dst_lookup_tail() (diff)
downloadkernel-1cdda91871470f15e79375991bd2eddc6e86ddb1.tar.gz
kernel-1cdda91871470f15e79375991bd2eddc6e86ddb1.zip
ipv6/udp: use sticky pktinfo egress ifindex on connect()
Currently, the egress interface index specified via IPV6_PKTINFO is ignored by __ip6_datagram_connect(), so that RFC 3542 section 6.7 can be subverted when the user space application calls connect() before sendmsg(). Fix it by initializing properly flowi6_oif in connect() before performing the route lookup. Signed-off-by: Paolo Abeni <[email protected]> Acked-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions