From 7fa80ce35fba715d2f19290d132c023b7d2679b7 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Mon, 18 Aug 2014 12:28:50 +0200 Subject: [PATCH] UBUNTU: SAUCE: Add compat macro for skb_get_hash Commit df4530d690a14dd net: Change skb_get_rxhash to skb_get_hash changed a function that is part of the 3.13 kernel API to pull in some newer driver code. In order for external modules (which check the LINUX_VERSION_CODE to find out which API functions to use) to still compile correctly, add a compat definition for the old name. BugLink: http://bugs.launchpad.net/bugs/1358162 Signed-off-by: Stefan Bader Acked-by: Andy Whitcroft Signed-off-by: Tim Gardner --- include/linux/skbuff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index e9b1a3c..fa71ce2 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -751,6 +751,7 @@ static inline __u32 skb_get_hash(struct sk_buff *skb) return skb->rxhash; } +#define skb_get_rxhash skb_get_hash static inline void skb_clear_hash(struct sk_buff *skb) { -- 1.9.1