Re: [PATCH net-next] LISP: Locator/Identifier Separation Protocol
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-06-03 22:16:26
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-06-03 22:16:26
On Thu, 29 May 2014 14:05:29 -0700 Christopher White [off-list ref] wrote:
+#define LISP_VERSION "0.1" + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) +#define rt_dst(rt) (rt->dst) +#else +#define rt_dst(rt) (rt->u.dst) +#endif +
Upstream kernel submissions should never include kernel version checks. Remove these and get rid of the wrapper.