/* Description: Add the LSM security attributes for the given packet to the underlying NetLabel protocol's label mapping cache. Returns zero on success, negative values on error.  */
int netlbl_cache_add(const struct sk_buff *skb, const struct netlbl_lsm_secattr *secattr)
/* Description: Add the LSM security attributes for the given packet to the underlying NetLabel protocol's label mapping cache. Returns zero on success, negative values on error.  */
int netlbl_cache_add(const struct sk_buff *skb, const struct netlbl_lsm_secattr *secattr)
{
	if ((secattr->flags & NETLBL_SECATTR_CACHE) == 0)
		return -ENOMSG;
	if (CIPSO_V4_OPTEXIST(skb))
		return cipso_v4_cache_add(skb, secattr);
	return -ENOMSG;
}