CVS log for src/sys/netinet/sctp_usrreq.c
Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 8 17:28:37 2024 UTC (3 months ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
s/effect/affect/ in a few places
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 8 09:36:52 2024 UTC (3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4
lines
fix a/an grammar in obvious cases
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:54 2024 UTC (5 months ago) by rin
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -14
lines
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:37 2024 UTC (10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
fix spelling mistakes, mainly in comments and log messages.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Nov 4 09:00:58 2022 UTC (2 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
inpcb: rename functions to inpcb_*
Inspired by rmind-smpnet patches.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 6 18:26:42 2022 UTC (2 years, 4 months ago) by andvar
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
s/blity/bility/ in various words, mainly in comments.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun May 29 10:47:40 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
fix various typos in comments and log messages.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 27 19:21:43 2020 UTC (4 years, 7 months ago) by rjs
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Do sctp_connectx() handling using ioctl() for IPv6 as well.
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:16 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +3 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jun 25 15:33:56 2019 UTC (5 years, 5 months ago) by rjs
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2
lines
Split out the prototypes for add/delete address into a separate header file.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:47 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +73 -44
lines
Sync with HEAD
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 25 06:49:44 2019 UTC (5 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -2
lines
RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions.
Fix RIP6 and CAN, add a big XXX in the SCTP ones.
Found by KASAN, triggered by SyzKaller.
Reported-by: syzbot+0b9692ae0f49f93b7dc7@syzkaller.appspotmail.com
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 24 07:20:33 2019 UTC (5 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -2
lines
RIP, RIP6, DDP, SCTP and SCTP6 lack a length check in their _connect()
functions. Fix the first three, and add a big XXX in the SCTP ones.
Found by KASAN, triggered by SyzKaller.
Reported-by: syzbot+9eaf98dad6ca738c250d@syzkaller.appspotmail.com
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 15 14:13:32 2019 UTC (5 years, 9 months ago) by rjs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3
lines
This really was a missing break.
Spotted by Rin Okuyama.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 12 14:40:38 2019 UTC (5 years, 9 months ago) by rjs
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Add some fallthrough annotations.
Revision 1.6.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 07:04:09 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +4 -6
lines
Pull up following revision(s) (requested by martin in ticket #1175):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/sctp_usrreq.c 1.14
sys/netinet/tcp_usrreq.c 1.223
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/sctp6_usrreq.c 1.17
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 28 12:53:01 2019 UTC (5 years, 10 months ago) by martin
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -6
lines
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:44 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +60 -40
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:36 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jul 31 16:28:56 2018 UTC (6 years, 4 months ago) by rjs
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -4
lines
Enable SCTP sysctl nodes.
Rename auto asconf one to match FreeBSD.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jul 31 13:36:31 2018 UTC (6 years, 4 months ago) by rjs
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +52 -37
lines
Change implementation of sctp_connectx() to use ioctl(2).
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:23 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -4
lines
Synch with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 1 07:21:39 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -4
lines
Remove now unused net_osdep.h includes, the other BSDs did the same.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Dec 10 11:52:14 2017 UTC (7 years ago) by rjs
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -10
lines
Improve compliance to RFC 6458.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:04 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +4037 -0
lines
update from HEAD
Revision 1.8.2.1
Tue Oct 17 19:23:42 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.8: +0 -4037
lines
file sctp_usrreq.c was added on branch tls-maxphys on 2017-12-03 11:39:04 +0000
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 17 19:23:42 2017 UTC (7 years, 1 month ago) by rjs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2
lines
Make SCTP work when IPSEC is also defined.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Oct 17 16:07:18 2017 UTC (7 years, 1 month ago) by rjs
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -2
lines
Set SPL level to match usage for TCP.
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:22 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +5 -5
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 7 09:32:02 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
netbsd-8-base,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -5
lines
Switch the address list of intefaces to pslist(9)
As usual, we leave the old list to avoid breaking kvm(3) users.
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +13 -6
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 12 02:24:17 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -4
lines
Protect ifnet list with psz and psref
The change ensures that ifnet objects in the ifnet list aren't freed during
list iterations by using pserialize(9) and psref(9).
Note that the change adds a pslist(9) for ifnet but doesn't remove the
original ifnet list (ifnet_list) to avoid breaking kvm(3) users. We
shouldn't use the original list in the kernel anymore.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 25 21:21:02 2016 UTC (8 years, 7 months ago) by rjs
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
Fix build when IPSEC enabled.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:18 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +6 -6
lines
Sync with HEAD
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Apr 3 09:57:40 2016 UTC (8 years, 8 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6
lines
Replace generic queue macros with IFNET/IFADDR macros.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:07 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +4021 -0
lines
Sync with HEAD (as of 26th Dec)
Revision 1.2.2.1
Sun Dec 13 18:58:13 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -4021
lines
file sctp_usrreq.c was added on branch nick-nhusb on 2015-12-27 12:10:07 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Dec 13 18:58:13 2015 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Branch point for: nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
PR/50529: David Binderman: Remove double sizeof
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 13 21:28:35 2015 UTC (9 years, 2 months ago) by rjs
Branches: MAIN
Add core networking support for SCTP.
CVSweb <webmaster@jp.NetBSD.org>