/* Description: Process a user generated ACCEPT message and set the accept flag accordingly. Returns zero on success, negative values on failure.  */
static int netlbl_unlabel_accept(struct sk_buff *skb, struct genl_info *info)
/* Description: Process a user generated ACCEPT message and set the accept flag accordingly. Returns zero on success, negative values on failure.  */
static int netlbl_unlabel_accept(struct sk_buff *skb, struct genl_info *info)
{
	u8 value;
	struct netlbl_audit audit_info;
	if (info->attrs[NLBL_UNLABEL_A_ACPTFLG]) {
		value = nla_get_u8(info->attrs[NLBL_UNLABEL_A_ACPTFLG]);
		if (value == 1 || value == 0) {
			netlbl_netlink_auditinfo(skb, &audit_info);
			netlbl_unlabel_acceptflg_set(value, &audit_info);
			return 0;
		}
	}
	return -EINVAL;
}