<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/net/core, branch linux-2.6.39.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.39.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.39.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2011-07-09T06:14:52Z</updated>
<entry>
<title>bug.h: Move ratelimit warn interfaces to ratelimit.h</title>
<updated>2011-07-09T06:14:52Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-05-26T19:00:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ea8427b46500a931847b9211f8302a3618b319d2'/>
<id>urn:sha1:ea8427b46500a931847b9211f8302a3618b319d2</id>
<content type='text'>
[ Upstream commit 86e4ca66e81bba0f8640f1fa19b8b8f72cbd0561 ]

As reported by Ingo Molnar, we still have configuration combinations
where use of the WARN_RATELIMIT interfaces break the build because
dependencies don't get met.

Instead of going down the long road of trying to make it so that
ratelimit.h can get included by kernel.h or asm-generic/bug.h,
just move the interface into ratelimit.h and make users have
to include that.

Reported-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>net: filter: Use WARN_RATELIMIT</title>
<updated>2011-07-09T06:14:52Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-05-21T07:48:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a79f0f1511ba8616043f95359c594f544a9e8850'/>
<id>urn:sha1:a79f0f1511ba8616043f95359c594f544a9e8850</id>
<content type='text'>
[ Upstream commit 6c4a5cb219520c7bc937ee186ca53f03733bd09f ]

A mis-configured filter can spam the logs with lots of stack traces.

Rate-limit the warnings and add printout of the bogus filter information.

Original-patch-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Joe Perches &lt;joe@perches.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>net: fix ETHTOOL_SFEATURES compatibility with old ethtool_ops.set_flags</title>
<updated>2011-07-09T06:14:50Z</updated>
<author>
<name>Michał Mirosław</name>
<email>mirq-linux@rere.qmqm.pl</email>
</author>
<published>2011-05-26T00:42:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=70e0b9c5761165977eb698a36a781830e1e7832e'/>
<id>urn:sha1:70e0b9c5761165977eb698a36a781830e1e7832e</id>
<content type='text'>
[ Upstream commit fd0daf9d58f6b3342d07c5f6bbfb304dbe5db4ec ]

Current code squashes flags to bool - this makes set_flags fail whenever
some ETH_FLAG_* equivalent features are set. Fix this.

Signed-off-by: Micha©© Miros©©aw &lt;mirq-linux@rere.qmqm.pl&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>net: fix __dst_destroy_metrics_generic()</title>
<updated>2011-06-03T00:31:58Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-05-24T17:29:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=88bb492456d6ba8c860060d08fc1370a8ce979b0'/>
<id>urn:sha1:88bb492456d6ba8c860060d08fc1370a8ce979b0</id>
<content type='text'>
[ Upstream commit b30c516f875004f025f4d10147bde28c5e98466b ]

dst_default_metrics is readonly, we dont want to kfree() it later.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.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>net: add skb_dst_force() in sock_queue_err_skb()</title>
<updated>2011-06-03T00:31:54Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-05-18T06:21:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3a029a52f334fcdf19da9496f3ec122fafe4cad5'/>
<id>urn:sha1:3a029a52f334fcdf19da9496f3ec122fafe4cad5</id>
<content type='text'>
[ Upstream commit abb57ea48fd9431fa320a5c55f73e6b5a44c2efb ]

Commit 7fee226ad239 (add a noref bit on skb dst) forgot to use
skb_dst_force() on packets queued in sk_error_queue

This triggers following warning, for applications using IP_CMSG_PKTINFO
receiving one error status

------------[ cut here ]------------
WARNING: at include/linux/skbuff.h:457 ip_cmsg_recv_pktinfo+0xa6/0xb0()
Hardware name: 2669UYD
Modules linked in: isofs vboxnetadp vboxnetflt nfsd ebtable_nat ebtables
lib80211_crypt_ccmp uinput xcbc hdaps tp_smapi thinkpad_ec radeonfb fb_ddc
radeon ttm drm_kms_helper drm ipw2200 intel_agp intel_gtt libipw i2c_algo_bit
i2c_i801 agpgart rng_core cfbfillrect cfbcopyarea cfbimgblt video raid10 raid1
raid0 linear md_mod vboxdrv
Pid: 4697, comm: miredo Not tainted 2.6.39-rc6-00569-g5895198-dirty #22
Call Trace:
 [&lt;c17746b6&gt;] ? printk+0x1d/0x1f
 [&lt;c1058302&gt;] warn_slowpath_common+0x72/0xa0
 [&lt;c15bbca6&gt;] ? ip_cmsg_recv_pktinfo+0xa6/0xb0
 [&lt;c15bbca6&gt;] ? ip_cmsg_recv_pktinfo+0xa6/0xb0
 [&lt;c1058350&gt;] warn_slowpath_null+0x20/0x30
 [&lt;c15bbca6&gt;] ip_cmsg_recv_pktinfo+0xa6/0xb0
 [&lt;c15bbdd7&gt;] ip_cmsg_recv+0x127/0x260
 [&lt;c154f82d&gt;] ? skb_dequeue+0x4d/0x70
 [&lt;c1555523&gt;] ? skb_copy_datagram_iovec+0x53/0x300
 [&lt;c178e834&gt;] ? sub_preempt_count+0x24/0x50
 [&lt;c15bdd2d&gt;] ip_recv_error+0x23d/0x270
 [&lt;c15de554&gt;] udp_recvmsg+0x264/0x2b0
 [&lt;c15ea659&gt;] inet_recvmsg+0xd9/0x130
 [&lt;c1547752&gt;] sock_recvmsg+0xf2/0x120
 [&lt;c11179cb&gt;] ? might_fault+0x4b/0xa0
 [&lt;c15546bc&gt;] ? verify_iovec+0x4c/0xc0
 [&lt;c1547660&gt;] ? sock_recvmsg_nosec+0x100/0x100
 [&lt;c1548294&gt;] __sys_recvmsg+0x114/0x1e0
 [&lt;c1093895&gt;] ? __lock_acquire+0x365/0x780
 [&lt;c1148b66&gt;] ? fget_light+0xa6/0x3e0
 [&lt;c1148b7f&gt;] ? fget_light+0xbf/0x3e0
 [&lt;c1148aee&gt;] ? fget_light+0x2e/0x3e0
 [&lt;c1549f29&gt;] sys_recvmsg+0x39/0x60

Close bug https://bugzilla.kernel.org/show_bug.cgi?id=34622

Reported-by: Witold Baryluk &lt;baryluk@smp.if.uj.edu.pl&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
CC: Stephen Hemminger &lt;shemminger@vyatta.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>net: ethtool: fix IPV6 checksum feature name string</title>
<updated>2011-06-03T00:31:54Z</updated>
<author>
<name>Michał Mirosław</name>
<email>mirq-linux@rere.qmqm.pl</email>
</author>
<published>2011-05-17T20:50:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b71dedf430e6a345b4ba47212ba1b433eef999dc'/>
<id>urn:sha1:b71dedf430e6a345b4ba47212ba1b433eef999dc</id>
<content type='text'>
[ Upstream commit 7cc31a9ae1477abc79d5992b3afe889f25c50c99 ]

Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&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>net: Change netdev_fix_features messages loglevel</title>
<updated>2011-06-03T00:31:53Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-05-16T10:37:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9532805bdd4bdcb203d53ebeac345c27a9436007'/>
<id>urn:sha1:9532805bdd4bdcb203d53ebeac345c27a9436007</id>
<content type='text'>
[ Upstream commit 604ae14ffb6d75d6eef4757859226b758d6bf9e3 ]

Cool, how about we make 'Features changed' debug as well?
This way userspace can't fill up the log just by tweaking tun features
with an ioctl.

Signed-off-by: Michael S. Tsirkin &lt;mst@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>net: use hlist_del_rcu() in dev_change_name()</title>
<updated>2011-06-03T00:31:53Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-05-17T17:56:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6fcd74f9528a56d6247454cf5cdc94706dddbb75'/>
<id>urn:sha1:6fcd74f9528a56d6247454cf5cdc94706dddbb75</id>
<content type='text'>
[ Upstream commit 372b2312010bece1e36f577d6c99a6193ec54cbd ]

Using plain hlist_del() in dev_change_name() is wrong since a
concurrent reader can crash trying to dereference LIST_POISON1.

Bug introduced in commit 72c9528bab94 (net: Introduce
dev_get_by_name_rcu())

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.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>net: Change netdev_fix_features messages loglevel</title>
<updated>2011-05-16T19:14:21Z</updated>
<author>
<name>Michał Mirosław</name>
<email>mirq-linux@rere.qmqm.pl</email>
</author>
<published>2011-05-16T19:14:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6f404e441d169afc90929ef5e451ec9779c1f11a'/>
<id>urn:sha1:6f404e441d169afc90929ef5e451ec9779c1f11a</id>
<content type='text'>
Those reduced to DEBUG can possibly be triggered by unprivileged processes
and are nothing exceptional. Illegal checksum combinations can only be
caused by driver bug, so promote those messages to WARN.

Since GSO without SG will now only cause DEBUG message from
netdev_fix_features(), remove the workaround from register_netdevice().

Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dev_close() should check IFF_UP</title>
<updated>2011-05-10T22:03:33Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-05-10T19:26:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e14a599335427f81bbb0008963e59aa9c6449dce'/>
<id>urn:sha1:e14a599335427f81bbb0008963e59aa9c6449dce</id>
<content type='text'>
Commit 443457242beb (factorize sync-rcu call in
unregister_netdevice_many) mistakenly removed one test from dev_close()

Following actions trigger a BUG :

modprobe bonding
modprobe dummy
ifconfig bond0 up
ifenslave bond0 dummy0
rmmod dummy

dev_close() must not close a non IFF_UP device.

With help from Frank Blaschka and Einar EL Lueck

Reported-by: Frank Blaschka &lt;blaschka@linux.vnet.ibm.com&gt;
Reported-by: Einar EL Lueck &lt;ELELUECK@de.ibm.com&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
