<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/net/sctp, branch v2.6.31</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>sctp: fix missing destroy of percpu counter variable in sctp_proc_exit()</title>
<updated>2009-08-10T04:45:43+00:00</updated>
<author>
<name>Rafael Laufer</name>
<email>rlaufer@cisco.com</email>
</author>
<published>2009-08-07T05:17:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=418372b0ab7a3bbcc59d71e8e4d322ef18263dab'/>
<id>418372b0ab7a3bbcc59d71e8e4d322ef18263dab</id>
<content type='text'>
Commit 1748376b6626acf59c24e9592ac67b3fe2a0e026,
	net: Use a percpu_counter for sockets_allocated

added percpu_counter function calls to sctp_proc_init code path, but
forgot to add them to sctp_proc_exit().  This resulted in a following
Ooops when performing this test
	# modprobe sctp
	# rmmod -f sctp
	# modprobe sctp

[  573.862512] BUG: unable to handle kernel paging request at f8214a24
[  573.862518] IP: [&lt;c0308b8f&gt;] __percpu_counter_init+0x3f/0x70
[  573.862530] *pde = 37010067 *pte = 00000000
[  573.862534] Oops: 0002 [#1] SMP
[  573.862537] last sysfs file: /sys/module/libcrc32c/initstate
[  573.862540] Modules linked in: sctp(+) crc32c libcrc32c binfmt_misc bridge
stp bnep lp snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep
snd_pcm_oss snd_mixer_oss arc4 joydev snd_pcm ecb pcmcia snd_seq_dummy
snd_seq_oss iwlagn iwlcore snd_seq_midi snd_rawmidi snd_seq_midi_event
yenta_socket rsrc_nonstatic thinkpad_acpi snd_seq snd_timer snd_seq_device
mac80211 psmouse sdhci_pci sdhci nvidia(P) ppdev video snd soundcore serio_raw
pcspkr iTCO_wdt iTCO_vendor_support led_class ricoh_mmc pcmcia_core intel_agp
nvram agpgart usbhid parport_pc parport output snd_page_alloc cfg80211 btusb
ohci1394 ieee1394 e1000e [last unloaded: sctp]
[  573.862589]
[  573.862593] Pid: 5373, comm: modprobe Tainted: P  R        (2.6.31-rc3 #6)
7663B15
[  573.862596] EIP: 0060:[&lt;c0308b8f&gt;] EFLAGS: 00010286 CPU: 1
[  573.862599] EIP is at __percpu_counter_init+0x3f/0x70
[  573.862602] EAX: f8214a20 EBX: f80faa14 ECX: c48c0000 EDX: f80faa20
[  573.862604] ESI: f80a7000 EDI: 00000000 EBP: f69d5ef0 ESP: f69d5eec
[  573.862606]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  573.862610] Process modprobe (pid: 5373, ti=f69d4000 task=c2130c70
task.ti=f69d4000)
[  573.862612] Stack:
[  573.862613]  00000000 f69d5f18 f80a70a8 f80fa9fc 00000000 fffffffc f69d5f30
c018e2d4
[  573.862619] &lt;0&gt; 00000000 f80a7000 00000000 f69d5f88 c010112b 00000000
c07029c0 fffffffb
[  573.862626] &lt;0&gt; 00000000 f69d5f38 c018f83f f69d5f54 c0557cad f80fa860
00000001 c07010c0
[  573.862634] Call Trace:
[  573.862644]  [&lt;f80a70a8&gt;] ? sctp_init+0xa8/0x7d4 [sctp]
[  573.862650]  [&lt;c018e2d4&gt;] ? marker_update_probe_range+0x184/0x260
[  573.862659]  [&lt;f80a7000&gt;] ? sctp_init+0x0/0x7d4 [sctp]
[  573.862662]  [&lt;c010112b&gt;] ? do_one_initcall+0x2b/0x160
[  573.862666]  [&lt;c018f83f&gt;] ? tracepoint_module_notify+0x2f/0x40
[  573.862671]  [&lt;c0557cad&gt;] ? notifier_call_chain+0x2d/0x70
[  573.862678]  [&lt;c01588fd&gt;] ? __blocking_notifier_call_chain+0x4d/0x60
[  573.862682]  [&lt;c016b2f1&gt;] ? sys_init_module+0xb1/0x1f0
[  573.862686]  [&lt;c0102ffc&gt;] ? sysenter_do_call+0x12/0x28
[  573.862688] Code: 89 48 08 b8 04 00 00 00 e8 df aa ec ff ba f4 ff ff ff 85
c0 89 43 14 74 31 b8 b0 18 71 c0 e8 19 b9 24 00 a1 c4 18 71 c0 8d 53 0c &lt;89&gt; 50
04 89 43 0c b8 b0 18 71 c0 c7 43 10 c4 18 71 c0 89 15 c4
[  573.862725] EIP: [&lt;c0308b8f&gt;] __percpu_counter_init+0x3f/0x70 SS:ESP
0068:f69d5eec
[  573.862730] CR2: 00000000f8214a24
[  573.862734] ---[ end trace 39c4e0b55e7cf54d ]---

Signed-off-by: Rafael Laufer &lt;rlaufer@cisco.com&gt;
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 1748376b6626acf59c24e9592ac67b3fe2a0e026,
	net: Use a percpu_counter for sockets_allocated

added percpu_counter function calls to sctp_proc_init code path, but
forgot to add them to sctp_proc_exit().  This resulted in a following
Ooops when performing this test
	# modprobe sctp
	# rmmod -f sctp
	# modprobe sctp

[  573.862512] BUG: unable to handle kernel paging request at f8214a24
[  573.862518] IP: [&lt;c0308b8f&gt;] __percpu_counter_init+0x3f/0x70
[  573.862530] *pde = 37010067 *pte = 00000000
[  573.862534] Oops: 0002 [#1] SMP
[  573.862537] last sysfs file: /sys/module/libcrc32c/initstate
[  573.862540] Modules linked in: sctp(+) crc32c libcrc32c binfmt_misc bridge
stp bnep lp snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep
snd_pcm_oss snd_mixer_oss arc4 joydev snd_pcm ecb pcmcia snd_seq_dummy
snd_seq_oss iwlagn iwlcore snd_seq_midi snd_rawmidi snd_seq_midi_event
yenta_socket rsrc_nonstatic thinkpad_acpi snd_seq snd_timer snd_seq_device
mac80211 psmouse sdhci_pci sdhci nvidia(P) ppdev video snd soundcore serio_raw
pcspkr iTCO_wdt iTCO_vendor_support led_class ricoh_mmc pcmcia_core intel_agp
nvram agpgart usbhid parport_pc parport output snd_page_alloc cfg80211 btusb
ohci1394 ieee1394 e1000e [last unloaded: sctp]
[  573.862589]
[  573.862593] Pid: 5373, comm: modprobe Tainted: P  R        (2.6.31-rc3 #6)
7663B15
[  573.862596] EIP: 0060:[&lt;c0308b8f&gt;] EFLAGS: 00010286 CPU: 1
[  573.862599] EIP is at __percpu_counter_init+0x3f/0x70
[  573.862602] EAX: f8214a20 EBX: f80faa14 ECX: c48c0000 EDX: f80faa20
[  573.862604] ESI: f80a7000 EDI: 00000000 EBP: f69d5ef0 ESP: f69d5eec
[  573.862606]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  573.862610] Process modprobe (pid: 5373, ti=f69d4000 task=c2130c70
task.ti=f69d4000)
[  573.862612] Stack:
[  573.862613]  00000000 f69d5f18 f80a70a8 f80fa9fc 00000000 fffffffc f69d5f30
c018e2d4
[  573.862619] &lt;0&gt; 00000000 f80a7000 00000000 f69d5f88 c010112b 00000000
c07029c0 fffffffb
[  573.862626] &lt;0&gt; 00000000 f69d5f38 c018f83f f69d5f54 c0557cad f80fa860
00000001 c07010c0
[  573.862634] Call Trace:
[  573.862644]  [&lt;f80a70a8&gt;] ? sctp_init+0xa8/0x7d4 [sctp]
[  573.862650]  [&lt;c018e2d4&gt;] ? marker_update_probe_range+0x184/0x260
[  573.862659]  [&lt;f80a7000&gt;] ? sctp_init+0x0/0x7d4 [sctp]
[  573.862662]  [&lt;c010112b&gt;] ? do_one_initcall+0x2b/0x160
[  573.862666]  [&lt;c018f83f&gt;] ? tracepoint_module_notify+0x2f/0x40
[  573.862671]  [&lt;c0557cad&gt;] ? notifier_call_chain+0x2d/0x70
[  573.862678]  [&lt;c01588fd&gt;] ? __blocking_notifier_call_chain+0x4d/0x60
[  573.862682]  [&lt;c016b2f1&gt;] ? sys_init_module+0xb1/0x1f0
[  573.862686]  [&lt;c0102ffc&gt;] ? sysenter_do_call+0x12/0x28
[  573.862688] Code: 89 48 08 b8 04 00 00 00 e8 df aa ec ff ba f4 ff ff ff 85
c0 89 43 14 74 31 b8 b0 18 71 c0 e8 19 b9 24 00 a1 c4 18 71 c0 8d 53 0c &lt;89&gt; 50
04 89 43 0c b8 b0 18 71 c0 c7 43 10 c4 18 71 c0 89 15 c4
[  573.862725] EIP: [&lt;c0308b8f&gt;] __percpu_counter_init+0x3f/0x70 SS:ESP
0068:f69d5eec
[  573.862730] CR2: 00000000f8214a24
[  573.862734] ---[ end trace 39c4e0b55e7cf54d ]---

Signed-off-by: Rafael Laufer &lt;rlaufer@cisco.com&gt;
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: fix warning at inet_sock_destruct() while release sctp socket</title>
<updated>2009-07-06T19:47:08+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yjwei@cn.fujitsu.com</email>
</author>
<published>2009-07-05T19:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1bc4ee4088c9a502db0e9c87f675e61e57fa1734'/>
<id>1bc4ee4088c9a502db0e9c87f675e61e57fa1734</id>
<content type='text'>
Commit 'net: Move rx skb_orphan call to where needed' broken sctp protocol
with warning at inet_sock_destruct(). Actually, sctp can do this right with
sctp_sock_rfree_frag() and sctp_skb_set_owner_r_frag() pair.

    sctp_sock_rfree_frag(skb);
    sctp_skb_set_owner_r_frag(skb, newsk);

This patch not revert the commit d55d87fdff8252d0e2f7c28c2d443aee17e9d70f,
instead remove the sctp_sock_rfree_frag() function.

------------[ cut here ]------------
WARNING: at net/ipv4/af_inet.c:151 inet_sock_destruct+0xe0/0x142()
Modules linked in: sctp ipv6 dm_mirror dm_region_hash dm_log dm_multipath
scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]
Pid: 1808, comm: sctp_test Not tainted 2.6.31-rc2 #40
Call Trace:
 [&lt;c042dd06&gt;] warn_slowpath_common+0x6a/0x81
 [&lt;c064a39a&gt;] ? inet_sock_destruct+0xe0/0x142
 [&lt;c042dd2f&gt;] warn_slowpath_null+0x12/0x15
 [&lt;c064a39a&gt;] inet_sock_destruct+0xe0/0x142
 [&lt;c05fde44&gt;] __sk_free+0x19/0xcc
 [&lt;c05fdf50&gt;] sk_free+0x18/0x1a
 [&lt;ca0d14ad&gt;] sctp_close+0x192/0x1a1 [sctp]
 [&lt;c0649f7f&gt;] inet_release+0x47/0x4d
 [&lt;c05fba4d&gt;] sock_release+0x19/0x5e
 [&lt;c05fbab3&gt;] sock_close+0x21/0x25
 [&lt;c049c31b&gt;] __fput+0xde/0x189
 [&lt;c049c3de&gt;] fput+0x18/0x1a
 [&lt;c049988f&gt;] filp_close+0x56/0x60
 [&lt;c042f422&gt;] put_files_struct+0x5d/0xa1
 [&lt;c042f49f&gt;] exit_files+0x39/0x3d
 [&lt;c043086a&gt;] do_exit+0x1a5/0x5dd
 [&lt;c04a86c2&gt;] ? d_kill+0x35/0x3b
 [&lt;c0438fa4&gt;] ? dequeue_signal+0xa6/0x115
 [&lt;c0430d05&gt;] do_group_exit+0x63/0x8a
 [&lt;c0439504&gt;] get_signal_to_deliver+0x2e1/0x2f9
 [&lt;c0401d9e&gt;] do_notify_resume+0x7c/0x6b5
 [&lt;c043f601&gt;] ? autoremove_wake_function+0x0/0x34
 [&lt;c04a864e&gt;] ? __d_free+0x3d/0x40
 [&lt;c04a867b&gt;] ? d_free+0x2a/0x3c
 [&lt;c049ba7e&gt;] ? vfs_write+0x103/0x117
 [&lt;c05fc8fa&gt;] ? sys_socketcall+0x178/0x182
 [&lt;c0402a56&gt;] work_notifysig+0x13/0x19
---[ end trace 9db92c463e789fba ]---

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Acked-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 'net: Move rx skb_orphan call to where needed' broken sctp protocol
with warning at inet_sock_destruct(). Actually, sctp can do this right with
sctp_sock_rfree_frag() and sctp_skb_set_owner_r_frag() pair.

    sctp_sock_rfree_frag(skb);
    sctp_skb_set_owner_r_frag(skb, newsk);

This patch not revert the commit d55d87fdff8252d0e2f7c28c2d443aee17e9d70f,
instead remove the sctp_sock_rfree_frag() function.

------------[ cut here ]------------
WARNING: at net/ipv4/af_inet.c:151 inet_sock_destruct+0xe0/0x142()
Modules linked in: sctp ipv6 dm_mirror dm_region_hash dm_log dm_multipath
scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]
Pid: 1808, comm: sctp_test Not tainted 2.6.31-rc2 #40
Call Trace:
 [&lt;c042dd06&gt;] warn_slowpath_common+0x6a/0x81
 [&lt;c064a39a&gt;] ? inet_sock_destruct+0xe0/0x142
 [&lt;c042dd2f&gt;] warn_slowpath_null+0x12/0x15
 [&lt;c064a39a&gt;] inet_sock_destruct+0xe0/0x142
 [&lt;c05fde44&gt;] __sk_free+0x19/0xcc
 [&lt;c05fdf50&gt;] sk_free+0x18/0x1a
 [&lt;ca0d14ad&gt;] sctp_close+0x192/0x1a1 [sctp]
 [&lt;c0649f7f&gt;] inet_release+0x47/0x4d
 [&lt;c05fba4d&gt;] sock_release+0x19/0x5e
 [&lt;c05fbab3&gt;] sock_close+0x21/0x25
 [&lt;c049c31b&gt;] __fput+0xde/0x189
 [&lt;c049c3de&gt;] fput+0x18/0x1a
 [&lt;c049988f&gt;] filp_close+0x56/0x60
 [&lt;c042f422&gt;] put_files_struct+0x5d/0xa1
 [&lt;c042f49f&gt;] exit_files+0x39/0x3d
 [&lt;c043086a&gt;] do_exit+0x1a5/0x5dd
 [&lt;c04a86c2&gt;] ? d_kill+0x35/0x3b
 [&lt;c0438fa4&gt;] ? dequeue_signal+0xa6/0x115
 [&lt;c0430d05&gt;] do_group_exit+0x63/0x8a
 [&lt;c0439504&gt;] get_signal_to_deliver+0x2e1/0x2f9
 [&lt;c0401d9e&gt;] do_notify_resume+0x7c/0x6b5
 [&lt;c043f601&gt;] ? autoremove_wake_function+0x0/0x34
 [&lt;c04a864e&gt;] ? __d_free+0x3d/0x40
 [&lt;c04a867b&gt;] ? d_free+0x2a/0x3c
 [&lt;c049ba7e&gt;] ? vfs_write+0x103/0x117
 [&lt;c05fc8fa&gt;] ? sys_socketcall+0x178/0x182
 [&lt;c0402a56&gt;] work_notifysig+0x13/0x19
---[ end trace 9db92c463e789fba ]---

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Acked-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: xmit sctp packet always return no route error</title>
<updated>2009-06-30T02:41:53+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yjwei@cn.fujitsu.com</email>
</author>
<published>2009-06-28T22:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ff0ac74afb5b9916641723a78796d4ee7937c2ea'/>
<id>ff0ac74afb5b9916641723a78796d4ee7937c2ea</id>
<content type='text'>
Commit 'net: skb-&gt;dst accessors'(adf30907d63893e4208dfe3f5c88ae12bc2f25d5)
broken the sctp protocol stack, the sctp packet can never be sent out after
Eric Dumazet's patch, which have typo in the sctp code.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Acked-by: Vlad Yasevich &lt;vladisalv.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 'net: skb-&gt;dst accessors'(adf30907d63893e4208dfe3f5c88ae12bc2f25d5)
broken the sctp protocol stack, the sctp packet can never be sent out after
Eric Dumazet's patch, which have typo in the sctp code.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Acked-by: Vlad Yasevich &lt;vladisalv.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipv6: Use correct data types for ICMPv6 type and code</title>
<updated>2009-06-23T11:31:07+00:00</updated>
<author>
<name>Brian Haley</name>
<email>brian.haley@hp.com</email>
</author>
<published>2009-06-23T11:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d5fdd6babcfc2b0e6a8da1acf492a69fb54b4c47'/>
<id>d5fdd6babcfc2b0e6a8da1acf492a69fb54b4c47</id>
<content type='text'>
Change all the code that deals directly with ICMPv6 type and code
values to use u8 instead of a signed int as that's the actual data
type.

Signed-off-by: Brian Haley &lt;brian.haley@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change all the code that deals directly with ICMPv6 type and code
values to use u8 instead of a signed int as that's the actual data
type.

Signed-off-by: Brian Haley &lt;brian.haley@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: correct off-by-one write allocations reports</title>
<updated>2009-06-18T07:29:12+00:00</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2009-06-18T02:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=31e6d363abcd0d05766c82f1a9c905a4c974a199'/>
<id>31e6d363abcd0d05766c82f1a9c905a4c974a199</id>
<content type='text'>
commit 2b85a34e911bf483c27cfdd124aeb1605145dc80
(net: No more expensive sock_hold()/sock_put() on each tx)
changed initial sk_wmem_alloc value.

We need to take into account this offset when reporting
sk_wmem_alloc to user, in PROC_FS files or various
ioctls (SIOCOUTQ/TIOCOUTQ)

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 2b85a34e911bf483c27cfdd124aeb1605145dc80
(net: No more expensive sock_hold()/sock_put() on each tx)
changed initial sk_wmem_alloc value.

We need to take into account this offset when reporting
sk_wmem_alloc to user, in PROC_FS files or various
ioctls (SIOCOUTQ/TIOCOUTQ)

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: protocol.c call rcu_barrier() on unload.</title>
<updated>2009-06-10T08:11:25+00:00</updated>
<author>
<name>Jesper Dangaard Brouer</name>
<email>hawk@comx.dk</email>
</author>
<published>2009-06-08T03:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eaa184a1a1cda3991420c47bc960ddea6cbacff2'/>
<id>eaa184a1a1cda3991420c47bc960ddea6cbacff2</id>
<content type='text'>
On module unload call rcu_barrier(), this is needed as synchronize_rcu()
is not strong enough.  The kmem_cache_destroy() does invoke
synchronize_rcu() but it does not provide same protection.

Signed-off-by: Jesper Dangaard Brouer &lt;hawk@comx.dk&gt;
Acked-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On module unload call rcu_barrier(), this is needed as synchronize_rcu()
is not strong enough.  The kmem_cache_destroy() does invoke
synchronize_rcu() but it does not provide same protection.

Signed-off-by: Jesper Dangaard Brouer &lt;hawk@comx.dk&gt;
Acked-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: Use frag list abstraction interfaces.</title>
<updated>2009-06-09T07:24:07+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2009-06-09T07:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1b003be39e91a6cd013c9ea580ccc24d1fac9959'/>
<id>1b003be39e91a6cd013c9ea580ccc24d1fac9959</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: support non-blocking version of the new sctp_connectx() API</title>
<updated>2009-06-03T13:14:47+00:00</updated>
<author>
<name>Vlad Yasevich</name>
<email>vladislav.yasevich@hp.com</email>
</author>
<published>2009-06-01T16:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4'/>
<id>c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4</id>
<content type='text'>
Prior implementation of the new sctp_connectx() call that returns
an association ID did not work correctly on non-blocking socket.
This is because we could not return both a EINPROGRESS error and
an association id.  This is a new implementation that supports this.

Originally from Ivan Skytte Jørgensen &lt;isj-sctp@i1.dk

Signed-off-by: Ivan Skytte Jørgensen &lt;isj-sctp@i1.dk
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior implementation of the new sctp_connectx() call that returns
an association ID did not work correctly on non-blocking socket.
This is because we could not return both a EINPROGRESS error and
an association id.  This is a new implementation that supports this.

Originally from Ivan Skytte Jørgensen &lt;isj-sctp@i1.dk

Signed-off-by: Ivan Skytte Jørgensen &lt;isj-sctp@i1.dk
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: fix to choose alternate destination when retransmit ASCONF chunk</title>
<updated>2009-06-03T13:14:46+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yjwei@cn.fujitsu.com</email>
</author>
<published>2009-05-12T13:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9919b455fc00c995ef8141848bdc0709ce50bf36'/>
<id>9919b455fc00c995ef8141848bdc0709ce50bf36</id>
<content type='text'>
RFC 5061 Section 5.1 ASCONF Chunk Procedures said:

B4)  Re-transmit the ASCONF Chunk last sent and if possible choose an
     alternate destination address (please refer to [RFC4960],
     Section 6.4.1).  An endpoint MUST NOT add new parameters to this
     chunk; it MUST be the same (including its Sequence Number) as
     the last ASCONF sent.  An endpoint MAY, however, bundle an
     additional ASCONF with new ASCONF parameters with the next
     Sequence Number.  For details, see Section 5.5.

This patch fix to choose an alternate destination address when
re-transmit the ASCONF chunk, with some dup codes cleanup.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC 5061 Section 5.1 ASCONF Chunk Procedures said:

B4)  Re-transmit the ASCONF Chunk last sent and if possible choose an
     alternate destination address (please refer to [RFC4960],
     Section 6.4.1).  An endpoint MUST NOT add new parameters to this
     chunk; it MUST be the same (including its Sequence Number) as
     the last ASCONF sent.  An endpoint MAY, however, bundle an
     additional ASCONF with new ASCONF parameters with the next
     Sequence Number.  For details, see Section 5.5.

This patch fix to choose an alternate destination address when
re-transmit the ASCONF chunk, with some dup codes cleanup.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sctp: fix sack_timeout sysctl min and max types</title>
<updated>2009-06-03T13:14:46+00:00</updated>
<author>
<name>Jean-Mickael Guerin</name>
<email>jean-mickael.guerin@6wind.com</email>
</author>
<published>2009-05-12T22:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d48e074dfdada552fa53f5eab807540f352e0d5d'/>
<id>d48e074dfdada552fa53f5eab807540f352e0d5d</id>
<content type='text'>
sctp_sack_timeout is defined as int, but the sysctl's maxsize is set
to sizeof(long) and the min/max are defined as long.

Signed-off-by: jean-mickael.guerin@6wind.com
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sctp_sack_timeout is defined as int, but the sysctl's maxsize is set
to sizeof(long) and the min/max are defined as long.

Signed-off-by: jean-mickael.guerin@6wind.com
Signed-off-by: Vlad Yasevich &lt;vladislav.yasevich@hp.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
