public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Alessandro Suardi <alessandro.suardi@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	linux-kernel@vger.kernel.org, netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] ipv4: fix fib metrics
Date: Thu, 24 Mar 2011 23:18:27 +0100	[thread overview]
Message-ID: <1301005107.2714.113.camel@edumazet-laptop> (raw)
In-Reply-To: <AANLkTin_gxMF1hyK_yhN+G9UGfcBKAhPE24r7tLe5j3D@mail.gmail.com>

Le jeudi 24 mars 2011 à 23:11 +0100, Alessandro Suardi a écrit :

> On a -git14 kernel + both the fib metrics and the above git diff, I
> strace'd vpnc
>  and found out this (first triplet of public IP masked intentionally)
> 
> [root@duff tmp]# egrep 'execve|garbage' strace.log |egrep '/ip|garbage'
> [pid  4228] execve("/sbin/ip", ["/sbin/ip", "route", "get",
> "xxx.9.13.212"], [/* 32 vars */]) = 0
> [pid  4231] execve("/sbin/ip", ["/sbin/ip", "route", "replace",
> "10.175.0.0/19", "dev", "tun0"], [/* 32 vars */]) = 0
> [pid  4232] execve("/sbin/ip", ["/sbin/ip", "route", "flush",
> "cache"], [/* 32 vars */]) = 0
> [pid  4234] execve("/sbin/ip", ["/sbin/ip", "route", "get",
> "xxx.9.13.212"], [/* 32 vars */]) = 0
> [pid  4237] execve("/sbin/ip", ["/sbin/ip", "route", "add",
> "xxx.9.13.212", "via", "192.168.1.1", "dev", "eth1", "src",
> "192.168.1.8", "ipid", "0x043f", "advmss", "1400"], [/* 32 vars */]) =
> 0
> [pid  4237] write(2, "Error: either \"to\" is duplicate,"..., 57Error:
> either "to" is duplicate, or "ipid" is a garbage.
> 
> 192.168.1.1 is my DSL router and 192.168.1.8 is my computer's wireless IP.
> 
> Does this ring any bell ?
> 
> 

Not a kernel error, but a tool error ?


(ipid is only displayed by "ip ro show")

grep ipid */*.c
ip/iproute.c:				fprintf(fp, " ipid 0x%04x", ci->rta_id);



  reply	other threads:[~2011-03-24 22:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 15:08 regression: ip r change mss doesn't work in 2.6.38-git14 Alessandro Suardi
2011-03-24 15:21 ` Eric Dumazet
2011-03-24 15:52   ` Alessandro Suardi
2011-03-24 16:15     ` Eric Dumazet
2011-03-24 17:01       ` [PATCH] ipv4: fix fib metrics Eric Dumazet
2011-03-24 18:14         ` Alessandro Suardi
2011-03-24 18:45           ` Eric Dumazet
2011-03-24 22:11             ` Alessandro Suardi
2011-03-24 22:18               ` Eric Dumazet [this message]
2011-03-24 22:27                 ` Alessandro Suardi
2011-03-24 22:32                   ` Eric Dumazet
2011-03-24 22:36                     ` David Miller
2011-03-24 22:44                       ` Eric Dumazet
2011-03-25  0:12                         ` Alessandro Suardi
2011-03-25  0:22                           ` David Miller
2011-03-25  0:53                           ` Kyle Moffett
2011-03-25  1:04                             ` Alessandro Suardi
2011-03-25  1:25                               ` Alessandro Suardi
2011-05-27  9:27                                 ` David Woodhouse
2011-05-28 22:00                                   ` Alessandro Suardi
2011-03-24 18:59         ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1301005107.2714.113.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=alessandro.suardi@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox