The NetBSD Project

CVS log for src/sys/net/nd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / net

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 11 16:18:36 2024 UTC (2 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +18 -3 lines
Pull up following revision(s) (requested by rin in ticket #827):

	sys/net/nd.c: revision 1.6
	sys/net/nd.c: revision 1.7

nd_resolve: Maintain la_numheld.

Otherwise lltable_drop_entry_queue never drops anything.

Addresses mbuf leak, PR kern/58297.

nd_timer: Update la_numheld when we clear la_hold (a.k.a. ln_hold).

Followup for PR kern/58297 fix.  Patch by mlelstv@.
PR kern/58301

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu May 30 23:00:39 2024 UTC (6 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -2 lines
nd_timer: Update la_numheld when we clear la_hold (a.k.a. ln_hold).

Followup for PR kern/58297 fix.  Patch by mlelstv@.

PR kern/58301

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue May 28 22:15:22 2024 UTC (6 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -3 lines
nd_resolve: Maintain la_numheld.

Otherwise lltable_drop_entry_queue never drops anything.

Addresses mbuf leak, PR kern/58297.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 19 08:00:51 2022 UTC (2 years ago) by yamt
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
Branch point for: netbsd-10
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -2 lines
Make arp have its own mowner

This helped me to debug mbuf leaks in arp.
(if_arp.c rev. 1.298)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 15 23:40:03 2020 UTC (4 years, 2 months ago) by roy
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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
nd: give missed a default of ND_LLINFO_NOSTATE

It's impossible to miss from this state, where-as 0 is ND_LLINFO_INCOMPLETE
which we can miss from.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Sep 15 10:05:36 2020 UTC (4 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +58 -19 lines
Implement RFC 7048, making Neighbor Unreachability Detection less impatient

RFC 7048 Section 3 says in the UNREACHABLE state packets continue to be
sent to the link-layer address and then backoff exponentially.
We adjust this slightly and move to the INCOMPLETE state after
`nd_mmaxtries` probes and then start backing off.

This results in simpler code whilst providing a more robust model which
doubles the time to failure over what we did before.
We don't want to be back to the old ARP model where no unreachability
errors are returned because very few applications would look at
unreachability hints provided such as ND_LLINFO_UNREACHABLE or RTM_MISS.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 14 15:09:57 2020 UTC (4 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
nd: Name l3addr union of llentry and use in-place of nd_addr.

Probably makes more sense and makes nd.h less messy.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 11 14:59:22 2020 UTC (4 years, 2 months ago) by roy
Branches: MAIN
Implement address agnostic Neighbor Detection.

This is heavily based on IPv6 Neighbor Detection and allows per protocol
timers which also facilitate Neighor Unreachability Detection.

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>