https://github.com/torvalds/linux
Revision 399ea0f6bcd318af94ec8e4ffe96703ed674f22e authored by Pavel Fedin on 06 October 2015, 08:14:35 UTC, committed by Christoffer Dall on 20 October 2015, 16:04:48 UTC
Jump to correct label and free kvm_host_cpu_state

Reviewed-by: Wei Huang <wei@redhat.com>
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
1 parent 437f996
Raw File
Tip revision: 399ea0f6bcd318af94ec8e4ffe96703ed674f22e authored by Pavel Fedin on 06 October 2015, 08:14:35 UTC
KVM: arm/arm64: Fix memory leak if timer initialization fails
Tip revision: 399ea0f
ah.h
#ifndef _NET_AH_H
#define _NET_AH_H

#include <linux/skbuff.h>

struct crypto_ahash;

struct ah_data {
	int			icv_full_len;
	int			icv_trunc_len;

	struct crypto_ahash	*ahash;
};

struct ip_auth_hdr;

static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb)
{
	return (struct ip_auth_hdr *)skb_transport_header(skb);
}

#endif
back to top