Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200554

Re: [BUG] net/ipv4: inconsistent routing table

From Daniel Borkmann <daniel@iogearbox.net>
Newsgroups linux.kernel
Subject Re: [BUG] net/ipv4: inconsistent routing table
Date 2015-08-05 11:10 +0200
Message-ID <pU2RY-5aV-13@gated-at.bofh.it> (permalink)
References <pU2Ii-4Ky-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[ please cc netdev ]

On 08/05/2015 10:56 AM, Zang MingJie wrote:
> Hi:
>
> I found a bug when remove an ip address which is referenced by a routing entry.
>
> step to reproduce:
>
> ip li add type dummy
> ip li set dummy0 up
> ip ad add 10.0.0.1/24 dev dummy0
> ip ad add 10.0.0.2/24 dev dummy0
> ip ro add default via 10.0.0.2/24
> ip ad del 10.0.0.2/24 dev dummy0
>
> after deleting the secondary ip address, the routing entry still
> pointing to 10.0.0.2
>
> # ip ro
> default via 10.0.0.2 dev dummy0
> 10.0.0.0/24 dev dummy0  proto kernel  scope link  src 10.0.0.1
>
> but actually, kernel considers the default route is directly connected.
>
> # ip ro get 1.1.1.1
> 1.1.1.1 dev dummy0  src 10.0.0.1
>      cache
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-05 11:00 +0200
  Re: [BUG] net/ipv4: inconsistent routing table Daniel Borkmann <daniel@iogearbox.net> - 2015-08-05 11:10 +0200
    Re: [BUG] net/ipv4: inconsistent routing table Alexander Duyck <alexander.duyck@gmail.com> - 2015-08-05 19:50 +0200
      Re: [BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-06 12:20 +0200
        Re: [BUG] net/ipv4: inconsistent routing table Alexander Duyck <alexander.h.duyck@redhat.com> - 2015-08-07 00:40 +0200
          Re: [BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-07 10:30 +0200
            Re: [BUG] net/ipv4: inconsistent routing table Alexander Duyck <alexander.h.duyck@redhat.com> - 2015-08-07 18:10 +0200
              Re: [BUG] net/ipv4: inconsistent routing table Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-08-07 19:10 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-08 12:40 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-08-10 11:20 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-10 13:00 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-08-10 14:00 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Alexander Duyck <alexander.duyck@gmail.com> - 2015-08-11 23:00 +0200
                Re: [BUG] net/ipv4: inconsistent routing table David Miller <davem@davemloft.net> - 2015-08-11 23:20 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Zang MingJie <zealot0630@gmail.com> - 2015-08-12 10:20 +0200
                Re: [BUG] net/ipv4: inconsistent routing table Stephen Hemminger <stephen@networkplumber.org> - 2015-08-12 17:30 +0200

csiph-web