Smack: Fix build when NETWORK_SECMARK is not set
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 22 Sep 2020 21:59:31 +0000 (14:59 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 22 Sep 2020 21:59:31 +0000 (14:59 -0700)
commitbf0afe673b999439b6a53c75727821795ccb27e2
treeb8632f16c8f8b0ba97ab28b476b4b80e11b0fea6
parent322dd63c7f98315b5794653bc582d109841219ae
Smack: Fix build when NETWORK_SECMARK is not set

Use proper conditional compilation for the secmark field in
the network skb.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c