Hi list,<br><br><span class="gI">I can successfully build the driver modules; hdlc, dlci, syncppp, and lmc<br> from the 2.6.18-128.1.14 kernel source rpm, and have managed to<br> create a 'wan kmod' rpm. It all works fine for IPv4, but now I need<br>
IPv6 for ppp connections, which doesn't work for me.<br><br>I think I'll need to back port </span>Krzysztof Halasa's 'ppp for generic hdlc'<br> patches to the 2.6.18-128.1.14.el5 kernel sources.<br><br>
Has anyone worked on this? I have tried simply overwriting the<br> drivers/net/wan directory with corresponding directory from<br> more recent (2.6.25.20, 2.6.30) vanilla kernel source, but I get errors:<br><br> CC [M] drivers/net/wan/hdlc.o<br>
drivers/net/wan/hdlc.c:39:31: error: net/net_namespace.h: No such file or directory<br>drivers/net/wan/hdlc.c: In function ‘hdlc_rcv’:<br>drivers/net/wan/hdlc.c:69: warning: initialization from incompatible pointer type<br>
drivers/net/wan/hdlc.c:71: error: ‘struct net_device’ has no member named ‘nd_net’<br>drivers/net/wan/hdlc.c:71: error: ‘init_net’ undeclared (first use in this function)<br>drivers/net/wan/hdlc.c:71: error: (Each undeclared identifier is reported only once<br>
drivers/net/wan/hdlc.c:71: error: for each function it appears in.)<br>drivers/net/wan/hdlc.c:76: error: dereferencing pointer to incomplete type<br>drivers/net/wan/hdlc.c:77: error: dereferencing pointer to incomplete type<br>
drivers/net/wan/hdlc.c: In function ‘hdlc_proto_start’:<br>drivers/net/wan/hdlc.c:85: error: invalid type argument of ‘->’<br>...<br>and so on.<br><br>Where is the best starting point for getting these changes back-ported. I guess<br>
I need post-'ppp for generic hdlc' but pre-'net-namespace'. Is this possible?<br><br>Thanks for any help/advice.<br><br>-- <br>-Bob<br>