<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/sctp/ipv6.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-02-13T18:42:34Z</updated>
<entry>
<title>net: sctp: sctp_v6_get_dst: fix boolean test in dst cache</title>
<updated>2013-02-13T18:42:34Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2013-02-12T13:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9c0dfbaa28b7c9f5d3482633770cdeec53e3f7b'/>
<id>urn:sha1:e9c0dfbaa28b7c9f5d3482633770cdeec53e3f7b</id>
<content type='text'>
We walk through the bind address list and try to get the best source
address for a given destination. However, currently, we take the
'continue' path of the loop when an entry is invalid (!laddr-&gt;valid)
*and* the entry state does not equal SCTP_ADDR_SRC (laddr-&gt;state !=
SCTP_ADDR_SRC).

Thus, still, invalid entries with SCTP_ADDR_SRC might not 'continue'
as well as valid entries with SCTP_ADDR_{NEW, SRC, DEL}, with a possible
false baddr and matchlen as a result, causing in worst case dst route
to be false or possibly NULL.

This test should actually be a '||' instead of '&amp;&amp;'. But lets fix it
and make this a bit easier to read by having the condition the same way
as similarly done in sctp_v4_get_dst.

Signed-off-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: fix CONFIG_SCTP_DBG_MSG=y null pointer dereference in sctp_v6_get_dst()</title>
<updated>2012-11-30T17:21:27Z</updated>
<author>
<name>Tommi Rantala</name>
</author>
<published>2012-11-29T23:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee3f34e857238a4552c68d860348893d7728bcab'/>
<id>urn:sha1:ee3f34e857238a4552c68d860348893d7728bcab</id>
<content type='text'>
Trinity (the syscall fuzzer) triggered the following BUG, reproducible
only when the kernel is configured with CONFIG_SCTP_DBG_MSG=y.

When CONFIG_SCTP_DBG_MSG is not set, the null pointer is never
dereferenced.

---[ end trace a4de0bfcb38a3642 ]---
BUG: unable to handle kernel NULL pointer dereference at 0000000000000100
IP: [&lt;ffffffff8136796e&gt;] ip6_string+0x1e/0xa0
PGD 4eead067 PUD 4e472067 PMD 0
Oops: 0000 [#1] PREEMPT SMP
Modules linked in:
CPU 3
Pid: 21324, comm: trinity-child11 Tainted: G        W    3.7.0-rc7+ #61 ASUSTeK Computer INC. EB1012/EB1012
RIP: 0010:[&lt;ffffffff8136796e&gt;]  [&lt;ffffffff8136796e&gt;] ip6_string+0x1e/0xa0
RSP: 0018:ffff88004e4637a0  EFLAGS: 00010046
RAX: ffff88004e4637da RBX: ffff88004e4637da RCX: 0000000000000000
RDX: ffffffff8246e92a RSI: 0000000000000100 RDI: ffff88004e4637da
RBP: ffff88004e4637a8 R08: 000000000000ffff R09: 000000000000ffff
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8289d600
R13: ffffffff8289d230 R14: ffffffff8246e928 R15: ffffffff8289d600
FS:  00007fed95153700(0000) GS:ffff88005fd80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000100 CR3: 000000004eeac000 CR4: 00000000000007e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process trinity-child11 (pid: 21324, threadinfo ffff88004e462000, task ffff8800524b0000)
Stack:
 ffff88004e4637da ffff88004e463828 ffffffff81368eee 000000004e4637d8
 ffffffff0000ffff ffff88000000ffff 0000000000000000 000000004e4637f8
 ffffffff826285d8 ffff88004e4637f8 0000000000000000 ffff8800524b06b0
Call Trace:
 [&lt;ffffffff81368eee&gt;] ip6_addr_string.isra.11+0x3e/0xa0
 [&lt;ffffffff81369183&gt;] pointer.isra.12+0x233/0x2d0
 [&lt;ffffffff810a413a&gt;] ? vprintk_emit+0x1ba/0x450
 [&lt;ffffffff8110953d&gt;] ? trace_hardirqs_on_caller+0x10d/0x1a0
 [&lt;ffffffff81369757&gt;] vsnprintf+0x187/0x5d0
 [&lt;ffffffff81369c62&gt;] vscnprintf+0x12/0x30
 [&lt;ffffffff810a4028&gt;] vprintk_emit+0xa8/0x450
 [&lt;ffffffff81e5cb00&gt;] printk+0x49/0x4b
 [&lt;ffffffff81d17221&gt;] sctp_v6_get_dst+0x731/0x780
 [&lt;ffffffff81d16e15&gt;] ? sctp_v6_get_dst+0x325/0x780
 [&lt;ffffffff81d00a96&gt;] sctp_transport_route+0x46/0x120
 [&lt;ffffffff81cff0f1&gt;] sctp_assoc_add_peer+0x161/0x350
 [&lt;ffffffff81d0fd8d&gt;] sctp_sendmsg+0x6cd/0xcb0
 [&lt;ffffffff81b55bf0&gt;] ? inet_create+0x670/0x670
 [&lt;ffffffff81b55cfb&gt;] inet_sendmsg+0x10b/0x220
 [&lt;ffffffff81b55bf0&gt;] ? inet_create+0x670/0x670
 [&lt;ffffffff81a72a64&gt;] ? sock_update_classid+0xa4/0x2b0
 [&lt;ffffffff81a72ab0&gt;] ? sock_update_classid+0xf0/0x2b0
 [&lt;ffffffff81a6ac1c&gt;] sock_sendmsg+0xdc/0xf0
 [&lt;ffffffff8118e9e5&gt;] ? might_fault+0x85/0x90
 [&lt;ffffffff8118e99c&gt;] ? might_fault+0x3c/0x90
 [&lt;ffffffff81a6e12a&gt;] sys_sendto+0xfa/0x130
 [&lt;ffffffff810a9887&gt;] ? do_setitimer+0x197/0x380
 [&lt;ffffffff81e960d5&gt;] ? sysret_check+0x22/0x5d
 [&lt;ffffffff81e960a9&gt;] system_call_fastpath+0x16/0x1b
Code: 01 eb 89 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 f8 31 c9 48 89 e5 53 eb 12 0f 1f 40 00 48 83 c1 01 48 83 c0 04 48 83 f9 08 74 70 &lt;0f&gt; b6 3c 4e 89 fb 83 e7 0f c0 eb 04 41 89 d8 41 83 e0 0f 0f b6
RIP  [&lt;ffffffff8136796e&gt;] ip6_string+0x1e/0xa0
 RSP &lt;ffff88004e4637a0&gt;
CR2: 0000000000000100
---[ end trace a4de0bfcb38a3643 ]---

Signed-off-by: Tommi Rantala &lt;tt.rantala@gmail.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: Make the mib per network namespace</title>
<updated>2012-08-15T06:30:36Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2012-08-06T08:47:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b01a24078fa3fc4f0f447d1306ce5adc495ead86'/>
<id>urn:sha1:b01a24078fa3fc4f0f447d1306ce5adc495ead86</id>
<content type='text'>
Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: Enable sctp in all network namespaces</title>
<updated>2012-08-15T06:29:59Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2012-08-06T08:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb2db45b5495455ec7580315029184550709f4a2'/>
<id>urn:sha1:bb2db45b5495455ec7580315029184550709f4a2</id>
<content type='text'>
- Fix the sctp_af operations to work in all namespaces
- Enable sctp socket creation in all network namespaces.

Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: Make the address lists per network namespace</title>
<updated>2012-08-15T06:12:17Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2012-08-06T08:42:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4db67e808640e3934d82ce61ee8e2e89fd877ba8'/>
<id>urn:sha1:4db67e808640e3934d82ce61ee8e2e89fd877ba8</id>
<content type='text'>
- Move the address lists into struct net
- Add per network namespace initialization and cleanup
- Pass around struct net so it is everywhere I need it.
- Rename all of the global variable references into references
  to the variables moved into struct net

Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: Make the association hashtable handle multiple network namespaces</title>
<updated>2012-08-15T05:44:12Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2012-08-06T08:41:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4110cc255ddec59c79fba4d71cdd948d0a382140'/>
<id>urn:sha1:4110cc255ddec59c79fba4d71cdd948d0a382140</id>
<content type='text'>
- Use struct net in the hash calculation
- Use sock_net(association.base.sk) in the association lookups.
- On receive calculate the network namespace from skb-&gt;dev.
- Pass struct net from receive down to the functions that actually
  do the association lookup.

Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Acked-by: Vlad Yasevich &lt;vyasevich@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: Add redirect support to all protocol icmp error handlers.</title>
<updated>2012-07-12T07:25:15Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-07-12T07:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec18d9a2691d69cd14b48f9b919fddcef28b7f5c'/>
<id>urn:sha1:ec18d9a2691d69cd14b48f9b919fddcef28b7f5c</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove ipv6_addr_copy()</title>
<updated>2011-11-22T21:43:32Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2011-11-21T03:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e3fd7a06dc20b2d8ec6892233ad2012968fe7b6'/>
<id>urn:sha1:4e3fd7a06dc20b2d8ec6892233ad2012968fe7b6</id>
<content type='text'>
C assignment can handle struct in6_addr copying.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: tcp: fix TCLASS value in ACK messages sent from TIME_WAIT</title>
<updated>2011-10-27T04:44:35Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-10-27T04:44:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b903d324bee2627036d024dceed73b3c96558795'/>
<id>urn:sha1:b903d324bee2627036d024dceed73b3c96558795</id>
<content type='text'>
commit 66b13d99d96a (ipv4: tcp: fix TOS value in ACK messages sent from
TIME_WAIT) fixed IPv4 only.

This part is for the IPv6 side, adding a tclass param to ip6_xmit()

We alias tw_tclass and tw_tos, if socket family is INET6.

[ if sockets is ipv4-mapped, only IP_TOS socket option is used to fill
TOS field, TCLASS is not taken into account ]

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sctp: Add Auto-ASCONF support (core).</title>
<updated>2011-06-02T09:04:53Z</updated>
<author>
<name>Michio Honda</name>
</author>
<published>2011-04-26T10:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f7d653b67aed2d92540fbb0a8adaf32fcf352ae'/>
<id>urn:sha1:9f7d653b67aed2d92540fbb0a8adaf32fcf352ae</id>
<content type='text'>
SCTP reconfigure the IP addresses in the association by using
ASCONF chunks as mentioned in RFC5061.  For example, we can
start to use the newly configured IP address in the existing
association.  This patch implements automatic ASCONF operation
in the SCTP stack with address events in the host computer,
which is called auto_asconf.

Signed-off-by: Michio Honda &lt;micchie@sfc.wide.ad.jp&gt;
Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Acked-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
