Re: [mpls-linux-devel] ok to apply mpls patch on recent kernel: 2.6.16.18?
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2006-05-31 12:39:24
|
I haven't tried teh recent 2.6.16.x kernels. I'm assuming it should work fine (besides the conflict you mentioned). On Tue, May 30, 2006 at 04:27:15PM -0400, Bob Beers wrote: > Hello James, >=20 > I noticed in linux 2.6.16.x, TIPC has taken your socket! >=20 > see include/linux/socket.h: >=20 > #define AF_WANPIPE 25 /* Wanpipe API Sockets */ > #define AF_LLC 26 /* Linux LLC */ > #define AF_TIPC 30 /* TIPC sockets */ > #define AF_BLUETOOTH 31 /* Bluetooth sockets */ > #define AF_MAX 32 /* For now.. */ >=20 > I was able to use 29, and with 4 other small fix-ups in: > net/ipv4/Makefile, net/ipv4/netfilter/Kconfig, > net/ipv4/netfilter/Makefile, and net/ipv6/netfilter/Makefile > I was able to apply kernel patch to 2.6.16.18, with only > one fuzz, and about 12 offsets. >=20 > I see netfilter has been modified a bit, > (some of the targets have moved, > e.g.: now CONFIG_NETFILTER_XT_TARGET_CLASSIFY > was CONFIG_IP_NF_TARGET_CLASSIFY). >=20 > Is mpls 1.950 still expected to work with 2.6.16.x? >=20 >=20 >=20 >=20 > I get these warnings/errors when compiling kernel (gcc 3.4.4): > (but can compile after making included, suggested fixes below) > ... > CC [M] net/ipv4/netfilter/ipt_mpls.o > net/ipv4/netfilter/ipt_mpls.c:76: warning: initialization from > incompatible pointer type > +++++++++++ > maybe needs: ".checkentry =3D &checkentry," > and change in checkentry function args: > - const struct ipt_entry *e, > + const void *e, >=20 >=20 > CC [M] net/ipv6/netfilter/ip6t_mpls.o > net/ipv6/netfilter/ip6t_mpls.c:74: warning: initialization from > incompatible pointer type > +++++++++++ > maybe needs: ".checkentry =3D &checkentry," >=20 >=20 > CC [M] net/mpls/mpls_input.o > net/mpls/mpls_input.c: In function `mpls_skb_recv': > net/mpls/mpls_input.c:255: error: `ARPHRD_ETHER' undeclared (first use > in this function) > net/mpls/mpls_input.c:255: error: (Each undeclared identifier is > reported only once > net/mpls/mpls_input.c:255: error: for each function it appears in.) > net/mpls/mpls_input.c:256: error: `ARPHRD_FDDI' undeclared (first use > in this function) > net/mpls/mpls_input.c:257: error: `ARPHRD_IEEE802' undeclared (first > use in this function) > net/mpls/mpls_input.c:258: error: `ARPHRD_PPP' undeclared (first use > in this function) > net/mpls/mpls_input.c:259: error: `ARPHRD_LOOPBACK' undeclared (first > use in this function) > net/mpls/mpls_input.c:260: error: `ARPHRD_HDLC' undeclared (first use > in this function) > net/mpls/mpls_input.c:261: error: `ARPHRD_IPGRE' undeclared (first use > in this function) > +++++++++++ > maybe needs "#include <linux/if_arp.h>" >=20 > CC [M] net/mpls/mpls_netlink.o > net/mpls/mpls_netlink.c:39: error: unknown field `owner' specified in > initializer > net/mpls/mpls_netlink.c:39: warning: initialization from incompatible > pointer type > +++++++++++ > maybe needs to remove " .owner =3D THIS_MODULE," >=20 >=20 >=20 > -Bob >=20 >=20 > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |