Bug#575970: invalid argument when printing tunnels

2010-03-31 Thread Andreas Henriksson
Thanks for your good investigation of the problem.
I've notified the upstream developers about the problem and included
a patch that avoids showing the error if the kernel doesn't know
about 6RD.
This problem should be resolved soon.

-- 
Andreas Henriksson



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575970: invalid argument when printing tunnels

2010-03-30 Thread gzip
Package: iproute
Version: 20100224-3
Severity: normal

# ip t a mode ipip remote 2 local 1
# ip t
ioctl: Invalid argument
tunl0: ip/ip  remote any  local any  ttl inherit  nopmtudisc
ioctl: Invalid argument
tunl1: ip/ip  remote 2.0.0.0  local 1.0.0.0  ttl inherit

strace shows that invalid argument problems happen at:

  ioctl(5, 0x89f8, 0xbf924190)= -1 EINVAL (Invalid argument)

in print_tunnel(). 0x89f8 is SIOCGET6RD in 2.6.33. But SIOCGET6RD does not
exist in 2.6.32. Obviously this is a dependency bug which can be resolved
easily by adding some macros.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iproute depends on:
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  libdb4.8  4.8.26-1   Berkeley v4.8 Database Libraries [

Versions of packages iproute recommends:
pn  libatm1   none (no description available)

Versions of packages iproute suggests:
ii  iproute-doc   20100224-3 networking and traffic control too

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org