<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/net/ipv4/igmp.c, branch tmp/leds/core</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2008-12-26T00:42:51Z</updated>
<entry>
<title>netns: igmp: make /proc/net/{igmp,mcfilter} per netns</title>
<updated>2008-12-26T00:42:51Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2008-12-26T00:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7091e728c570157496e52296d2dbe816a6916836'/>
<id>urn:sha1:7091e728c570157496e52296d2dbe816a6916836</id>
<content type='text'>
This patch makes the followinf proc entries per-netns:
/proc/net/igmp
/proc/net/mcfilter

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Acked-by: Daniel Lezcano &lt;dlezcano@fr.ibm.com&gt;
Acked-by: Benjamin Thery &lt;benjamin.thery@bull.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: clean up net/ipv4/igmp.c</title>
<updated>2008-11-03T08:26:09Z</updated>
<author>
<name>Jianjun Kong</name>
<email>jianjun@zeuux.org</email>
</author>
<published>2008-11-03T08:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a7e9ff735bd5e3437a8e5ecbbc2db3865974a523'/>
<id>urn:sha1:a7e9ff735bd5e3437a8e5ecbbc2db3865974a523</id>
<content type='text'>
Signed-off-by: Jianjun Kong &lt;jianjun@zeuux.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Rationalise email address: Network Specific Parts</title>
<updated>2008-10-14T02:01:08Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2008-10-14T02:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>ipv4: add mc_count to in_device.</title>
<updated>2008-10-07T22:34:37Z</updated>
<author>
<name>Rami Rosen</name>
<email>ramirose@gmail.com</email>
</author>
<published>2008-10-07T22:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b8bae41ed6a53cce56c50811a91cd963e3187d1c'/>
<id>urn:sha1:b8bae41ed6a53cce56c50811a91cd963e3187d1c</id>
<content type='text'>
This patch add mc_count to struct in_device and updates
increment/decrement/initilaize of this field in IPv4 and in IPv6.

- Also printing the vfs /proc entry (/proc/net/igmp) is adjusted to
use the new mc_count.

Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns: Fix crash by making igmp per namespace</title>
<updated>2008-08-13T23:15:57Z</updated>
<author>
<name>Daniel Lezcano</name>
<email>dlezcano@fr.ibm.com</email>
</author>
<published>2008-08-13T23:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=877acedc0d3ea07f7b36573ed2f1f479c2c1eefd'/>
<id>urn:sha1:877acedc0d3ea07f7b36573ed2f1f479c2c1eefd</id>
<content type='text'>
This patch makes the multicast socket to be per namespace.

When a network namespace is created, other than the init_net and a
multicast packet is received, the kernel goes to a hang or a kernel panic.

How to reproduce ?

 * create a child network namespace
 * create a pair virtual device veth
    * ip link add type veth
 * move one side to the pair network device to the child namespace
    * ip link set netns &lt;childpid&gt; dev veth1
 * ping -I veth0 224.0.0.1

The bug appears because the function ip_mc_init_dev does not initialize
the different multicast fields as it exits because it is not the init_net.

BUG: soft lockup - CPU#0 stuck for 61s! [avahi-daemon:2695]
Modules linked in:
irq event stamp: 50350
hardirqs last  enabled at (50349): [&lt;c03ee949&gt;] _spin_unlock_irqrestore+0x34/0x39
hardirqs last disabled at (50350): [&lt;c03ec639&gt;] schedule+0x9f/0x5ff
softirqs last  enabled at (45712): [&lt;c0374d4b&gt;] ip_setsockopt+0x8e7/0x909
softirqs last disabled at (45710): [&lt;c03ee682&gt;] _spin_lock_bh+0x8/0x27

Pid: 2695, comm: avahi-daemon Not tainted (2.6.27-rc2-00029-g0872073 #3)
EIP: 0060:[&lt;c03ee47c&gt;] EFLAGS: 00000297 CPU: 0
EIP is at __read_lock_failed+0x8/0x10
EAX: c4f38810 EBX: c4f38810 ECX: 00000000 EDX: c04cc22e
ESI: fb0000e0 EDI: 00000011 EBP: 0f02000a ESP: c4e3faa0
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
CR0: 8005003b CR2: 44618a40 CR3: 04e37000 CR4: 000006d0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
 [&lt;c02311f8&gt;] ? _raw_read_lock+0x23/0x25
 [&lt;c0390666&gt;] ? ip_check_mc+0x1c/0x83
 [&lt;c036d478&gt;] ? ip_route_input+0x229/0xe92
 [&lt;c022e2e4&gt;] ? trace_hardirqs_on_thunk+0xc/0x10
 [&lt;c0104c9c&gt;] ? do_IRQ+0x69/0x7d
 [&lt;c0102e64&gt;] ? restore_nocheck_notrace+0x0/0xe
 [&lt;c036fdba&gt;] ? ip_rcv+0x227/0x505
 [&lt;c0358764&gt;] ? netif_receive_skb+0xfe/0x2b3
 [&lt;c03588d2&gt;] ? netif_receive_skb+0x26c/0x2b3
 [&lt;c035af31&gt;] ? process_backlog+0x73/0xbd
 [&lt;c035a8cd&gt;] ? net_rx_action+0xc1/0x1ae
 [&lt;c01218a8&gt;] ? __do_softirq+0x7b/0xef
 [&lt;c0121953&gt;] ? do_softirq+0x37/0x4d
 [&lt;c035b50d&gt;] ? dev_queue_xmit+0x3d4/0x40b
 [&lt;c0122037&gt;] ? local_bh_enable+0x96/0xab
 [&lt;c035b50d&gt;] ? dev_queue_xmit+0x3d4/0x40b
 [&lt;c012181e&gt;] ? _local_bh_enable+0x79/0x88
 [&lt;c035fcb8&gt;] ? neigh_resolve_output+0x20f/0x239
 [&lt;c0373118&gt;] ? ip_finish_output+0x1df/0x209
 [&lt;c0373364&gt;] ? ip_dev_loopback_xmit+0x62/0x66
 [&lt;c0371db5&gt;] ? ip_local_out+0x15/0x17
 [&lt;c0372013&gt;] ? ip_push_pending_frames+0x25c/0x2bb
 [&lt;c03891b8&gt;] ? udp_push_pending_frames+0x2bb/0x30e
 [&lt;c038a189&gt;] ? udp_sendmsg+0x413/0x51d
 [&lt;c038a1a9&gt;] ? udp_sendmsg+0x433/0x51d
 [&lt;c038f927&gt;] ? inet_sendmsg+0x35/0x3f
 [&lt;c034f092&gt;] ? sock_sendmsg+0xb8/0xd1
 [&lt;c012d554&gt;] ? autoremove_wake_function+0x0/0x2b
 [&lt;c022e6de&gt;] ? copy_from_user+0x32/0x5e
 [&lt;c022e6de&gt;] ? copy_from_user+0x32/0x5e
 [&lt;c034f238&gt;] ? sys_sendmsg+0x18d/0x1f0
 [&lt;c0175e90&gt;] ? pipe_write+0x3cb/0x3d7
 [&lt;c0170347&gt;] ? do_sync_write+0xbe/0x105
 [&lt;c012d554&gt;] ? autoremove_wake_function+0x0/0x2b
 [&lt;c03503b2&gt;] ? sys_socketcall+0x176/0x1b0
 [&lt;c01085ea&gt;] ? syscall_trace_enter+0x6c/0x7b
 [&lt;c0102e1a&gt;] ? syscall_call+0x7/0xb

Signed-off-by: Daniel Lezcano &lt;dlezcano@fr.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns: Use net_eq() to compare net-namespaces for optimization.</title>
<updated>2008-07-20T05:34:43Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2008-07-20T05:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=721499e8931c5732202481ae24f2dfbf9910f129'/>
<id>urn:sha1:721499e8931c5732202481ae24f2dfbf9910f129</id>
<content type='text'>
Without CONFIG_NET_NS, namespace is always &amp;init_net.
Compiler will be able to omit namespace comparisons with this patch.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&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>
<email>bunk@kernel.org</email>
</author>
<published>2008-06-11T05:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>net: Allow netdevices to specify needed head/tailroom</title>
<updated>2008-05-13T03:48:31Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2008-05-13T03:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f5184d267c1aedb9b7a8cc44e08ff6b8d382c3b5'/>
<id>urn:sha1:f5184d267c1aedb9b7a8cc44e08ff6b8d382c3b5</id>
<content type='text'>
This patch adds needed_headroom/needed_tailroom members to struct
net_device and updates many places that allocate sbks to use them. Not
all of them can be converted though, and I'm sure I missed some (I
mostly grepped for LL_RESERVED_SPACE)

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&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>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2008-03-25T17:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2008-03-25T12:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.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>
