[Bug 623] New: ipt_ROUTE incompatible with linux >= 2.6.31

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Sat Nov 28 23:39:02 CET 2009


http://bugzilla.netfilter.org/show_bug.cgi?id=623

           Summary: ipt_ROUTE incompatible with linux >= 2.6.31
           Product: netfilter/iptables
           Version: patch-o-matic-ng
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: netfilter hooks
        AssignedTo: laforge at netfilter.org
        ReportedBy: bencoh at via.ecp.fr
                CC: bencoh at via.ecp.fr


The kernel won't build if patched with pom-ng/ROUTE and the ROUTE target
enabled (ipv4 or ipv6).
The problem comes from changes to the kernel sk_buff struct [1], which has been
released with version 2.6.31.

Build errors (for the ipv4 ipt_ROUTE module) :
net/ipv4/netfilter/ipt_ROUTE.c: In function ‘route’:
net/ipv4/netfilter/ipt_ROUTE.c:113: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c:114: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c:119: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c:120: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c: In function ‘ip_direct_send’:
net/ipv4/netfilter/ipt_ROUTE.c:145: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c: In function ‘route_iif’:
net/ipv4/netfilter/ipt_ROUTE.c:291: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c:292: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c: In function ‘target’:
net/ipv4/netfilter/ipt_ROUTE.c:425: error: ‘struct sk_buff’ has no member
named ‘dst’
net/ipv4/netfilter/ipt_ROUTE.c:426: error: ‘struct sk_buff’ has no member
named ‘dst’

[1]
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.31.y.git;a=commit;h=adf30907d63893e4208dfe3f5c88ae12bc2f25d5

-- 
bencoh


-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the netfilter-buglog mailing list