<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/icmp.c, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-08-23T11:43:33Z</updated>
<entry>
<title>icmp: icmp_sk() should not use smp_processor_id() in preemptible code</title>
<updated>2008-08-23T11:43:33Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-08-23T11:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdc0bde90a689b9145f2b6f271c03f4c99d09667'/>
<id>urn:sha1:fdc0bde90a689b9145f2b6f271c03f4c99d09667</id>
<content type='text'>
Pass namespace into icmp_xmit_lock, obtain socket inside and return
it as a result for caller.

Thanks Alexey Dobryan for this report:

Steps to reproduce:

	CONFIG_PREEMPT=y
	CONFIG_DEBUG_PREEMPT=y
	tracepath &lt;something&gt;

BUG: using smp_processor_id() in preemptible [00000000] code: tracepath/3205
caller is icmp_sk+0x15/0x30
Pid: 3205, comm: tracepath Not tainted 2.6.27-rc4 #1

Call Trace:
 [&lt;ffffffff8031af14&gt;] debug_smp_processor_id+0xe4/0xf0
 [&lt;ffffffff80409405&gt;] icmp_sk+0x15/0x30
 [&lt;ffffffff8040a17b&gt;] icmp_send+0x4b/0x3f0
 [&lt;ffffffff8025a415&gt;] ? trace_hardirqs_on_caller+0xd5/0x160
 [&lt;ffffffff8025a4ad&gt;] ? trace_hardirqs_on+0xd/0x10
 [&lt;ffffffff8023a475&gt;] ? local_bh_enable_ip+0x95/0x110
 [&lt;ffffffff804285b9&gt;] ? _spin_unlock_bh+0x39/0x40
 [&lt;ffffffff8025a26c&gt;] ? mark_held_locks+0x4c/0x90
 [&lt;ffffffff8025a4ad&gt;] ? trace_hardirqs_on+0xd/0x10
 [&lt;ffffffff8025a415&gt;] ? trace_hardirqs_on_caller+0xd5/0x160
 [&lt;ffffffff803e91b4&gt;] ip_fragment+0x8d4/0x900
 [&lt;ffffffff803e7030&gt;] ? ip_finish_output2+0x0/0x290
 [&lt;ffffffff803e91e0&gt;] ? ip_finish_output+0x0/0x60
 [&lt;ffffffff803e6650&gt;] ? dst_output+0x0/0x10
 [&lt;ffffffff803e922c&gt;] ip_finish_output+0x4c/0x60
 [&lt;ffffffff803e92e3&gt;] ip_output+0xa3/0xf0
 [&lt;ffffffff803e68d0&gt;] ip_local_out+0x20/0x30
 [&lt;ffffffff803e753f&gt;] ip_push_pending_frames+0x27f/0x400
 [&lt;ffffffff80406313&gt;] udp_push_pending_frames+0x233/0x3d0
 [&lt;ffffffff804067d1&gt;] udp_sendmsg+0x321/0x6f0
 [&lt;ffffffff8040d155&gt;] inet_sendmsg+0x45/0x80
 [&lt;ffffffff803b967f&gt;] sock_sendmsg+0xdf/0x110
 [&lt;ffffffff8024a100&gt;] ? autoremove_wake_function+0x0/0x40
 [&lt;ffffffff80257ce5&gt;] ? validate_chain+0x415/0x1010
 [&lt;ffffffff8027dc10&gt;] ? __do_fault+0x140/0x450
 [&lt;ffffffff802597d0&gt;] ? __lock_acquire+0x260/0x590
 [&lt;ffffffff803b9e55&gt;] ? sockfd_lookup_light+0x45/0x80
 [&lt;ffffffff803ba50a&gt;] sys_sendto+0xea/0x120
 [&lt;ffffffff80428e42&gt;] ? _spin_unlock_irqrestore+0x42/0x80
 [&lt;ffffffff803134bc&gt;] ? __up_read+0x4c/0xb0
 [&lt;ffffffff8024e0c6&gt;] ? up_read+0x26/0x30
 [&lt;ffffffff8020b8bb&gt;] system_call_fastpath+0x16/0x1b

icmp6_sk() is similar.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>icmp: fix units for ratelimit</title>
<updated>2008-07-02T02:29:07Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2008-07-02T02:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dbf4bcac98bbc76ef425b3a2b4169f31199f6c7'/>
<id>urn:sha1:6dbf4bcac98bbc76ef425b3a2b4169f31199f6c7</id>
<content type='text'>
Convert the sysctl values for icmp ratelimit to use milliseconds instead
of jiffies which is based on kernel configured HZ.
Internal kernel jiffies are not a proper unit for any userspace API.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove CVS keywords</title>
<updated>2008-06-12T04:00:38Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-06-11T05:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b040829952d84bf2a62526f0e24b624e0699447'/>
<id>urn:sha1:0b040829952d84bf2a62526f0e24b624e0699447</id>
<content type='text'>
This patch removes CVS keywords that weren't updated for a long time
from comments.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-04-14T09:30:23Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-04-14T09:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df39e8ba56a788733d369068c7319e04b1da3cd5'/>
<id>urn:sha1:df39e8ba56a788733d369068c7319e04b1da3cd5</id>
<content type='text'>
Conflicts:

	drivers/net/ehea/ehea_main.c
	drivers/net/wireless/iwlwifi/Kconfig
	drivers/net/wireless/rt2x00/rt61pci.c
	net/ipv4/inet_timewait_sock.c
	net/ipv6/raw.c
	net/mac80211/ieee80211_sta.c
</content>
</entry>
<entry>
<title>[IPV6]: Simplify IPv6 control sockets creation.</title>
<updated>2008-04-03T21:31:03Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-04-03T21:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ed8516f09e510e4595bc900ad9266c15aacfdd2'/>
<id>urn:sha1:1ed8516f09e510e4595bc900ad9266c15aacfdd2</id>
<content type='text'>
Do this by replacing sock_create_kern with inet_ctl_sock_create.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Acked-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ICMP]: Ensure that ICMP relookup maintains status quo</title>
<updated>2008-04-03T19:52:19Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-04-03T19:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af2681828af5f2b42e12e8b16ba0cf113cf486c8'/>
<id>urn:sha1:af2681828af5f2b42e12e8b16ba0cf113cf486c8</id>
<content type='text'>
The ICMP relookup path is only meant to modify behaviour when
appropriate IPsec policies are in place and marked as requiring
relookups.  It is certainly not meant to modify behaviour when
IPsec policies don't exist at all.

However, due to an oversight on the error paths existing behaviour
may in fact change should one of the relookup steps fail.

This patch corrects this by redirecting all errors on relookup
failures to the previous code path.  That is, if the initial
xfrm_lookup let the packet pass, we will stand by that decision
should the relookup fail due to an error.

This should be safe from a security point-of-view because compliant
systems must install a default deny policy so the packet would'nt
have passed in that case.

Many thanks to Julian Anastasov for pointing out this error.

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>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-04-03T05:35:23Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-04-03T05:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a'/>
<id>urn:sha1:e1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a</id>
<content type='text'>
Conflicts:

	drivers/net/s2io.c
</content>
</entry>
<entry>
<title>[IPV6]: Fix ICMP relookup error path dst leak</title>
<updated>2008-04-02T07:06:09Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-04-02T07:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f32c5f2c3866bf4d932d2bc42216dafb90a50ab7'/>
<id>urn:sha1:f32c5f2c3866bf4d932d2bc42216dafb90a50ab7</id>
<content type='text'>
When we encounter an error while looking up the dst the second
time we need to drop the first dst.  This patch is pretty much
the same as the one for IPv4.

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] NETNS: Omit sock-&gt;sk_net without CONFIG_NET_NS.</title>
<updated>2008-03-25T19:39:55Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-03-25T17:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b1e0a655f8eba44ab1ee2a1068d169ccfb853b9'/>
<id>urn:sha1:3b1e0a655f8eba44ab1ee2a1068d169ccfb853b9</id>
<content type='text'>
Introduce per-sock inlines: sock_net(), sock_net_set()
and per-inet_timewait_sock inlines: twsk_net(), twsk_net_set().
Without CONFIG_NET_NS, no namespace other than &amp;init_net exists.
Let's explicitly define them to help compiler optimizations.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
<entry>
<title>[NET] NETNS: Omit net_device-&gt;nd_net without CONFIG_NET_NS.</title>
<updated>2008-03-25T19:39:53Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-03-25T12:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c346dca10840a874240c78efe3f39acf4312a1f2'/>
<id>urn:sha1:c346dca10840a874240c78efe3f39acf4312a1f2</id>
<content type='text'>
Introduce per-net_device inlines: dev_net(), dev_net_set().
Without CONFIG_NET_NS, no namespace other than &amp;init_net exists.
Let's explicitly define them to help compiler optimizations.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
</feed>
