diff options
author | Piotr Sawicki <p.sawicki2@partner.samsung.com> | 2018-07-19 11:42:58 +0200 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2018-07-23 12:59:41 -0700 |
commit | 129a99890936766f4b69b9da7ed88366313a9210 (patch) | |
tree | 181e423635ece00b2d29023cc17465f793700b43 /sound/firewire/Kconfig | |
parent | 4f0496d8ffa3ed5956a2ddee5d84f0246977799d (diff) | |
download | linux-129a99890936766f4b69b9da7ed88366313a9210.tar.gz linux-129a99890936766f4b69b9da7ed88366313a9210.tar.bz2 linux-129a99890936766f4b69b9da7ed88366313a9210.zip |
Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
A socket which has sk_family set to PF_INET6 is able to receive not
only IPv6 but also IPv4 traffic (IPv4-mapped IPv6 addresses).
Prior to this patch, the smk_skb_to_addr_ipv6() could have been
called for socket buffers containing IPv4 packets, in result such
traffic was allowed.
Signed-off-by: Piotr Sawicki <p.sawicki2@partner.samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'sound/firewire/Kconfig')
0 files changed, 0 insertions, 0 deletions