<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/icmp.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-14T02:01:08Z</updated>
<entry>
<title>net: Rationalise email address: Network Specific Parts</title>
<updated>2008-10-14T02:01:08Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-14T02:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=113aa838ec3a235d883f8357d31d90e16c47fc89'/>
<id>urn:sha1:113aa838ec3a235d883f8357d31d90e16c47fc89</id>
<content type='text'>
Clean up the various different email addresses of mine listed in the code
to a single current and valid address. As Dave says his network merges
for 2.6.28 are now done this seems a good point to send them in where
they won't risk disrupting real changes.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<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>mib: put icmpmsg statistics on struct net</title>
<updated>2008-07-18T11:04:22Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-18T11:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=923c6586b0dc0a00df07a1608185437145a0c68b'/>
<id>urn:sha1:923c6586b0dc0a00df07a1608185437145a0c68b</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mib: put icmp statistics on struct net</title>
<updated>2008-07-18T11:04:02Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-18T11:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b60538a0d737609213e4b758881913498d3ff0b4'/>
<id>urn:sha1:b60538a0d737609213e4b758881913498d3ff0b4</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mib: add struct net to ICMPMSGIN_INC_STATS_BH</title>
<updated>2008-07-15T06:05:31Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f66ac03d497c162c70cd0ccc802ce1777073cdf3'/>
<id>urn:sha1:f66ac03d497c162c70cd0ccc802ce1777073cdf3</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mib: add struct net to ICMPMSGOUT_INC_STATS</title>
<updated>2008-07-15T06:05:30Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=903fc1964e746b8d8e2971ea20c89b7aeab8bd9a'/>
<id>urn:sha1:903fc1964e746b8d8e2971ea20c89b7aeab8bd9a</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mib: add struct net to ICMP_INC_STATS_BH</title>
<updated>2008-07-15T06:05:29Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcfc23cac103b54dbc00a6f52f47656ad5c75844'/>
<id>urn:sha1:dcfc23cac103b54dbc00a6f52f47656ad5c75844</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mib: add struct net to ICMP_INC_STATS</title>
<updated>2008-07-15T06:05:28Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:02:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75c939bb4d6da790f758a2a3dcc7432f6d8778ee'/>
<id>urn:sha1:75c939bb4d6da790f758a2a3dcc7432f6d8778ee</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: toss struct net initialization around</title>
<updated>2008-07-15T06:05:26Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd54d716b1f6a3551ec17a4bb34027727b2db09a'/>
<id>urn:sha1:fd54d716b1f6a3551ec17a4bb34027727b2db09a</id>
<content type='text'>
Some places, that deal with ICMP statistics already have where
to get a struct net from, but use it directly, without declaring
a separate variable on the stack.

Since I will need this net soon, I declare a struct net on the
stack and use it in the existing places in a separate patch not
to spoil the future ones.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>icmp: add struct net argument to icmp_out_count</title>
<updated>2008-07-15T06:05:13Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-15T06:00:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0388b0042624714e6f8db8cc7994101a0a02d392'/>
<id>urn:sha1:0388b0042624714e6f8db8cc7994101a0a02d392</id>
<content type='text'>
This routine deals with ICMP statistics, but doesn't have a
struct net at hands, so add one.

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