The NetBSD Project

CVS log for src/sys/netinet/dccp_usrreq.c

[BACK] 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
Fri Jul 5 04:31:54 2024 UTC (5 months ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -10 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.26: download - view: text, markup, annotated - select for diffs
Fri Nov 4 09:01:53 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, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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.25: preferred, colored
Changes since revision 1.25: +9 -9 lines
inpcb: rename functions to in6pcb_*

Revision 1.25: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +25 -25 lines
inpcb: rename functions to inpcb_*

Inspired by rmind-smpnet patches.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:26:29 2022 UTC (2 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -16 lines
Adjust dccp and sctp for struct inpcb separation

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:20:08 2022 UTC (2 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +83 -293 lines
Adjust pf, wg, dccp and sctp for struct inpcb integration

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Dec 4 13:23:04 2021 UTC (3 years 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: +7 -7 lines
fix typos in comments and log messages, mainly in establish(ed).

Revision 1.19.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.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +5 -10 lines
Sync with HEAD

Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.2: +3 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Dec 16 17:46:58 2018 UTC (5 years, 11 months ago) by christos
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
sbspace() does not return negative values anymore and that broke OOB data
sending. Instead of depending on negative values, account for the 1024
bytes sosend() adds so that it can use all the space here in a separate
function sbspace_oob(). Idea from mlelstv@

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:56 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +4 -9 lines
Ssync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 14 05:09:51 2018 UTC (6 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -9 lines
Use non-variadic function pointer in protosw::pr_input.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:16 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -5 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 18 18:58:51 2018 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
IP6_EXTHDR_GET -> M_REGION_GET, no functional change.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 3 07:01:08 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
Remove m_copy completely.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 8 09:05:20 2018 UTC (6 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0502, 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.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Typos.

Revision 1.16.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:03 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16.8.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.8.1: +3357 -0 lines
update from HEAD

Revision 1.2.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:12 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.6: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.6: +24 -31 lines
Sync with HEAD

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:40 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +23 -30 lines
Sync with HEAD

Revision 1.16.8.1
Sun May 7 21:36:23 2017 UTC (7 years, 7 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.16: +0 -3357 lines
file dccp_usrreq.c was added on branch tls-maxphys on 2017-12-03 11:39:03 +0000

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 7 21:36:23 2017 UTC (7 years, 7 months ago) by rjs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: tls-maxphys
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +20 -20 lines
Change bzero -> memset, bcopy -> memcpy.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun May 7 21:24:37 2017 UTC (7 years, 7 months ago) by rjs
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2 lines
Change SPL around call to in_pcbbind().

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun May 7 20:08:02 2017 UTC (7 years, 7 months ago) by rjs
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -12 lines
Remove some foreign conditional code, NFC intended.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:05 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +6 -5 lines
Sync with HEAD

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:50 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
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: +6 -5 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 3 07:13:06 2017 UTC (7 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Pass inpcb/in6pcb instead of socket to ip_output/ip6_output

- Passing a socket to Layer 3 is layer violation and even unnecessary
- The change makes codes of callers and IPsec a bit simple

Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:59 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.5: +5 -5 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 16 15:44:47 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
ip6_sprintf -> IN6_PRINT so that we pass the size.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 16 07:33:36 2017 UTC (7 years, 10 months ago) by ryo
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -4 lines
Make ip6_sprintf(), in_fmtaddr(), lla_snprintf() and icmp6_redirect_diag() mpsafe.

Reviewed by ozaki-r@

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:51 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Dec 13 08:29:03 2016 UTC (7 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3 lines
Remove unnecessary inclusions of nd6.h

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
Changes since revision 1.2.2.4: +6 -6 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:43 2016 UTC (8 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +19 -19 lines
KNF. Remove extra spaces. No functional change.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:16 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:11 2015 UTC (9 years, 2 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: +4 -2 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (9 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
sprinkle _KERNEL_OPT

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (9 years, 6 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: +113 -159 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 2 17:18:03 2015 UTC (9 years, 7 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -17 lines
make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.

final commit for parameter type changes to protocol user requests

* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 27 02:59:44 2015 UTC (9 years, 7 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -8 lines
Introduce in6_selecthlim_rt to consolidate an idiom for rt->rt_ifp

It consolidates a scattered routine:
(rt = rtcache_validate(&in6p->in6p_route)) != NULL ? rt->rt_ifp : NULL

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 26 21:40:49 2015 UTC (9 years, 7 months ago) by rtr
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -38 lines
remove pr_generic from struct pr_usrreqs and all implementations of
pr_generic in protocols.

bump to 7.99.13

approved by rmind@

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Apr 24 22:32:37 2015 UTC (9 years, 7 months ago) by rtr
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -8 lines
make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.

* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.

patch posted to tech-net@ 2015/04/19

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:22 2015 UTC (9 years, 8 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: +3408 -0 lines
Sync with HEAD

Revision 1.2.2.1
Sat Apr 4 04:33:38 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -3408 lines
file dccp_usrreq.c was added on branch nick-nhusb on 2015-04-06 15:18:22 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 4 04:33:38 2015 UTC (9 years, 8 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +10 -13 lines
* update dccp_bind for struct mbuf * to struct sockaddr * parameter change
* pass NULL instead of casting 0 to a pointer when calling in_pcbbind()

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 10 19:11:52 2015 UTC (9 years, 10 months ago) by rjs
Branches: MAIN
Add DCCP protocol support from KAME.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>