From cd70b7a481f2befdb06401e62c3653db22099eb1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 18 Oct 2010 22:36:35 +0200 Subject: [PATCH] compat: backport sock_recv_ts_and_drops This is needed for bluetooth Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.33.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 6a7cd3ed4d33..c2dbc1bae392 100644 --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h @@ -145,6 +145,8 @@ static inline void compat_kfifo_free(struct kfifo **fifo) { prefetch(pos->member.next), &pos->member != (head); \ pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) +#define sock_recv_ts_and_drops(msg, sk, skb) sock_recv_timestamp(msg, sk, skb) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */ #endif /* LINUX_26_33_COMPAT_H */ -- 2.30.2