<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/devinet.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-08T20:01:21Z</updated>
<entry>
<title>INET: Fix netdev renaming and inet address labels</title>
<updated>2008-02-08T20:01:21Z</updated>
<author>
<name>Mark McLoughlin</name>
</author>
<published>2008-01-11T09:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d4522a499707f856d1c3046088abefdcf226ee9'/>
<id>urn:sha1:4d4522a499707f856d1c3046088abefdcf226ee9</id>
<content type='text'>
[INET]: Fix netdev renaming and inet address labels

[ Upstream commit: 44344b2a85f03326c7047a8c861b0c625c674839 ]

When re-naming an interface, the previous secondary address
labels get lost e.g.

  $&gt; brctl addbr foo
  $&gt; ip addr add 192.168.0.1 dev foo
  $&gt; ip addr add 192.168.0.2 dev foo label foo:00
  $&gt; ip addr show dev foo | grep inet
    inet 192.168.0.1/32 scope global foo
    inet 192.168.0.2/32 scope global foo:00
  $&gt; ip link set foo name bar
  $&gt; ip addr show dev bar | grep inet
    inet 192.168.0.1/32 scope global bar
    inet 192.168.0.2/32 scope global bar:2

Turns out to be a simple thinko in inetdev_changename() - clearly we
want to look at the address label, rather than the device name, for
a suffix to retain.

Signed-off-by: Mark McLoughlin &lt;markmc@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[IPV4] devinet: show all addresses assigned to interface</title>
<updated>2007-09-11T08:41:04Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-09-11T08:41:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=596e41509550447b030f7b16adaeb0138ab585a8'/>
<id>urn:sha1:596e41509550447b030f7b16adaeb0138ab585a8</id>
<content type='text'>
Bug: http://bugzilla.kernel.org/show_bug.cgi?id=8876

Not all ips are shown by "ip addr show" command when IPs number assigned to an
interface is more than 60-80 (in fact it depends on broadcast/label etc
presence on each address).

Steps to reproduce:
It's terribly simple to reproduce:

# for i in $(seq 1 100); do ip ad add 10.0.$i.1/24 dev eth10 ; done
# ip addr show

this will _not_ show all IPs.
Looks like the problem is in netlink/ipv4 message processing.

This is fix from bug submitter, it looks correct.

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4/IPV6]: Fail registration if inet device construction fails</title>
<updated>2007-07-31T09:28:16Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-07-31T00:04:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b217d616a15fcfb3caf2a72c1a071c6d3f182f8d'/>
<id>urn:sha1:b217d616a15fcfb3caf2a72c1a071c6d3f182f8d</id>
<content type='text'>
Now that netdev notifications can fail, we can use this to signal
errors during registration for IPv4/IPv6.  In particular, if we
fail to allocate memory for the inet device, we can fail the netdev
registration.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Do not remove idev when addresses are cleared</title>
<updated>2007-06-08T20:33:08Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-06-08T01:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6363097cc4d182f93788131b5d8f72aa91d950a0'/>
<id>urn:sha1:6363097cc4d182f93788131b5d8f72aa91d950a0</id>
<content type='text'>
Now that we create idev before addresses are added, it no longer makes
sense to remove them when addresses are all deleted.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: Mark netlink policies const</title>
<updated>2007-06-07T20:40:10Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-06-05T19:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d'/>
<id>urn:sha1:ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d</id>
<content type='text'>
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Restore old behaviour of default config values</title>
<updated>2007-06-07T20:39:26Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-06-05T06:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71e27da9618b5f4d525ec821def83991da20429f'/>
<id>urn:sha1:71e27da9618b5f4d525ec821def83991da20429f</id>
<content type='text'>
Previously inet devices were only constructed when addresses are added
(or rarely in ipmr).  Therefore the default config values they get are
the ones at the time of these operations.

Now that we're creating inet devices earlier, this changes the
behaviour of default config values in an incompatible way (see bug
#8519).

This patch creates a compromise by setting the default values at the
same point as before but only for those that have not been explicitly
set by the user since the inet device's creation.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Add default config support after inetdev_init</title>
<updated>2007-06-07T20:39:19Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-06-05T06:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31be308541e990592a2d0a3e77e8e51bd0cea0e0'/>
<id>urn:sha1:31be308541e990592a2d0a3e77e8e51bd0cea0e0</id>
<content type='text'>
Previously once inetdev_init has been called on a device any changes
made to ipv4_devconf_dflt would have no effect on that device's
configuration.

This creates a problem since we have moved the point where
inetdev_init is called from when an address is added to where the
device is registered.

This patch is the first half of a set that tries to mimic the old
behaviour while still calling inetdev_init.

It propagates any changes to ipv4_devconf_dflt to those devices that
have not had the corresponding attribute set.

The next patch will forcibly set all values at the point where
inetdev_init was previously called.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Convert IPv4 devconf to an array</title>
<updated>2007-06-07T20:39:13Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-06-05T06:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42f811b8bcdf6695bf74de580b1daf53445e8949'/>
<id>urn:sha1:42f811b8bcdf6695bf74de580b1daf53445e8949</id>
<content type='text'>
This patch converts the ipv4_devconf config members (everything except
sysctl) to an array.  This allows easier manipulation which will be
needed later on to provide better management of default config values.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Only panic if inetdev_init fails for loopback</title>
<updated>2007-06-07T20:39:03Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-06-05T06:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d76527e728d00d1cf9d5dd663caffb2dcf05ae6'/>
<id>urn:sha1:8d76527e728d00d1cf9d5dd663caffb2dcf05ae6</id>
<content type='text'>
When I made the inetdev_init call work on all devices I incorrectly
left in the panic call as well.  It is obviously undesirable to
panic on an allocation failure for a normal network device.  This
patch moves the panic call under the loopback if clause.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Rework dev_base via list_head (v3)</title>
<updated>2007-05-03T22:13:45Z</updated>
<author>
<name>Pavel Emelianov</name>
</author>
<published>2007-05-03T22:13:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7562f876cd93800f2f8c89445f2a563590b24e09'/>
<id>urn:sha1:7562f876cd93800f2f8c89445f2a563590b24e09</id>
<content type='text'>
Cleanup of dev_base list use, with the aim to simplify making device
list per-namespace. In almost every occasion, use of dev_base variable
and dev-&gt;next pointer could be easily replaced by for_each_netdev
loop. A few most complicated places were converted to using
first_netdev()/next_netdev().

Signed-off-by: Pavel Emelianov &lt;xemul@openvz.org&gt;
Acked-by: Kirill Korotaev &lt;dev@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
