[CentOS] wan hdlc_ppp and IPv6

Tue Jun 30 18:24:24 UTC 2009
Bob Beers <bob.beers at gmail.com>

Hi list,

I can successfully build the driver modules; hdlc, dlci, syncppp, and lmc
 from the 2.6.18-128.1.14 kernel source rpm, and have managed to
 create a 'wan kmod' rpm.  It all works fine for IPv4, but now I need
 IPv6 for ppp connections, which doesn't work for me.

I think I'll need to back port Krzysztof Halasa's 'ppp for generic hdlc'
 patches to the 2.6.18-128.1.14.el5 kernel sources.

Has anyone worked on this?  I have tried simply overwriting the
 drivers/net/wan directory with corresponding directory from
 more recent (2.6.25.20, 2.6.30) vanilla kernel source, but I get errors:

 CC [M]  drivers/net/wan/hdlc.o
drivers/net/wan/hdlc.c:39:31: error: net/net_namespace.h: No such file or
directory
drivers/net/wan/hdlc.c: In function ‘hdlc_rcv’:
drivers/net/wan/hdlc.c:69: warning: initialization from incompatible pointer
type
drivers/net/wan/hdlc.c:71: error: ‘struct net_device’ has no member named
‘nd_net’
drivers/net/wan/hdlc.c:71: error: ‘init_net’ undeclared (first use in this
function)
drivers/net/wan/hdlc.c:71: error: (Each undeclared identifier is reported
only once
drivers/net/wan/hdlc.c:71: error: for each function it appears in.)
drivers/net/wan/hdlc.c:76: error: dereferencing pointer to incomplete type
drivers/net/wan/hdlc.c:77: error: dereferencing pointer to incomplete type
drivers/net/wan/hdlc.c: In function ‘hdlc_proto_start’:
drivers/net/wan/hdlc.c:85: error: invalid type argument of ‘->’
...
and so on.

Where is the best starting point for getting these changes back-ported.  I
guess
 I need post-'ppp for generic hdlc' but pre-'net-namespace'.  Is this
possible?

Thanks for any help/advice.

-- 
-Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090630/d7f9a98d/attachment-0004.html>