Revert "xt_TEE: cosmetic replace a version check"

This reverts commit ab13e58f96.

Whoops. There is no mark at all before 2.6.19.
This commit is contained in:
Jan Engelhardt
2010-03-17 02:37:00 +01:00
parent 48327605c6
commit 8dd316ed56

View File

@@ -232,9 +232,10 @@ tee_tg_route6(struct sk_buff *skb, const struct xt_tee_tginfo *info)
memset(&fl, 0, sizeof(fl));
fl.iif = skb_ifindex(skb);
/* No mark in flowi before 2.6.19 */
#if LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 19)
fl.nl_u.ip6_u.fwmark = skb_nfmark(skb);
#else
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
fl.mark = skb_nfmark(skb);
#endif
fl.nl_u.ip6_u.daddr = info->gw.in6;