On Tue, 31 Oct 2017 16:28:20 -0700
Cong Wang <xiyou.wangc...@gmail.com> wrote:

> On Tue, Oct 31, 2017 at 2:10 PM, Stephen Hemminger
> <step...@networkplumber.org> wrote:
> >
> > IPPROTO_MH comes from include/uapi/linux/in6.h
> > Maybe it is trying to use old kernel headers from libc.  
> 
> So newer iproute2 is not supposed to work with older
> kernel header??

Iproute2 has always supplied it's own sanitized kernel headers.
This allows it to be built on older systems where newer definitions in kernel
headers are missing. If you point the kernel header for either kernel package
or glibc, it can't build.

This was done to avoid having to have source full of #ifdef XXX.
Kernel user API is stable enough that newer versions of iproute2 fine.
If a new feature is requested on old kernel it is reported as an error or 
ignored.

Reply via email to