]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: Inform peer that IPv6 traffic has been blocked
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Thu, 19 Jul 2018 09:47:31 +0000 (11:47 +0200)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 23 Jul 2018 20:00:03 +0000 (13:00 -0700)
commit2e08169a314c88a694c5a9d21ff0a83b21667930
tree86c47de8e48fc66af59fc673c440d7895e08d6b0
parent3351c0fa48fbd8c82235b6096cf61a967145c017
Smack: Inform peer that IPv6 traffic has been blocked

In this patch we're sending an ICMPv6 message to a peer to
immediately inform it that making a connection is not possible.
In case of TCP connections, without this change, the peer
will be waiting until a connection timeout is exceeded.

Signed-off-by: Piotr Sawicki <p.sawicki2@partner.samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c