]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: Fix IPv6 handling of 0 secmark
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 3 Apr 2019 21:28:38 +0000 (14:28 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Wed, 3 Apr 2019 21:28:38 +0000 (14:28 -0700)
commit49cdfcffbaf558ed5aa3d4a2b9d77599635226db
tree863eddb3f6473b23322512310b43f6725bc7bb7c
parentb70bc7dcec7a7a6e7ffac11fe606a44aed03b06d
Smack: Fix IPv6 handling of 0 secmark

Handle the case where the skb for an IPv6 packet contains
a 0 in the secmark for a packet generated locally. This
can only happen for system packets, so allow the access.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c