Smack: Check UDP-Lite and DCCP protocols during IPv6 handling
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Thu, 19 Jul 2018 09:45:16 +0000 (11:45 +0200)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 23 Jul 2018 19:59:51 +0000 (12:59 -0700)
commita07ef9516477aef2d052d75129a48f9f94d3b3f3
tree26e0f66b88244aeba9a1c15c0f54b8859cb189e9
parent129a99890936766f4b69b9da7ed88366313a9210
Smack: Check UDP-Lite and DCCP protocols during IPv6 handling

The smack_socket_sock_rcv_skb() function is checking smack labels
only for UDP and TCP frames carried in IPv6 packets. From now on,
it is able also to handle UDP-Lite and DCCP protocols.

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