#
ef8a0e98 |
| 25-Mar-2023 |
andvar <andvar@NetBSD.org> |
s/deteted/detected/ in log message.
|
#
d10e2ccb |
| 03-Sep-2022 |
thorpej <thorpej@NetBSD.org> |
Garbage-collect the remaining vestiges of netisr.
|
#
84b04437 |
| 03-Sep-2022 |
thorpej <thorpej@NetBSD.org> |
Only use configured RPS hash functions for IPv4 and IPv6 packets.
This is NFC change now because only IPv4 and IPv6 use pktqueue, but that will change in future commits.
|
#
0b651b68 |
| 27-Aug-2022 |
thorpej <thorpej@NetBSD.org> |
Ensure that all queues passed to ifq_enqueue2() have a valid ifq_lock.
|
#
b12d7a34 |
| 27-Aug-2022 |
thorpej <thorpej@NetBSD.org> |
Use IFQ_SET_MAXLEN() rather than open-coding it.
|
#
64b1512b |
| 07-Mar-2022 |
knakahara <knakahara@NetBSD.org> |
Don't change ifp->if_link_state directly. Pointed out by yamaguchi@n.o.
|
#
5d0d46be |
| 25-Oct-2021 |
knakahara <knakahara@NetBSD.org> |
kpreempt_disable() before sppp_get_{ip,ip6}_addrs() are unnecessary now.
|
#
7a0bd5d6 |
| 25-Oct-2021 |
knakahara <knakahara@NetBSD.org> |
Fix missing curlwp_bind() for ifa_release(), ok'ed by yamaguchi@n.o.
This causes the following KASSERT failure in pppoe server. - sppp_rcr_event() - sppp_ipcp_confreq() - sppp_get_
Fix missing curlwp_bind() for ifa_release(), ok'ed by yamaguchi@n.o.
This causes the following KASSERT failure in pppoe server. - sppp_rcr_event() - sppp_ipcp_confreq() - sppp_get_ip_addrs() - psref_release()
After if_spppsubr.c:1.227, sppp_ipcp_confreq() is done in workqueue instead of softint.
show more ...
|
#
a8362763 |
| 11-Oct-2021 |
knakahara <knakahara@NetBSD.org> |
Make pktq_rps_hash() pluggable for each interface type. Reviewed by gdt@n.o, thorpej@n.o, and riastradh@n.o, thanks.
|
#
1f85ca2f |
| 02-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added missing definition of sppp_ipv6cp_tld
Fixed build without INET6
|
#
0295b2a6 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Fix the wrong timeout event handler for PAP
sppp_auth_to_event() is a implementation of TO+/TO- event for authentication protocol and it drops TO+ event in Ack-rcvd state.
|
#
ee220d99 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Send Up event in tlu action of LCP
When LCP is stopping, the layer send Down event and Close event (Down -> Close). To align the sequence, Up event is moved before Open event.
|
#
73f5d670 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added logs when IPCP and IPv6CP are up or down
|
#
8df914db |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added SPPP_LOG() for refactoring around log
|
#
346c0c55 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Send RTM_IFINFO when a network configuration protocol is up or down
|
#
dfc50233 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Drop the Open event of LCP to stop the interface even a reconnection is scheduled
The queue for events in if_spppsubr.c is not possible to enqueue the same event. So, The close event caused while a
Drop the Open event of LCP to stop the interface even a reconnection is scheduled
The queue for events in if_spppsubr.c is not possible to enqueue the same event. So, The close event caused while a close event and open event are enqueued for reconnection is not possible to stop interface. To solve this issue, The open event after "ifconfig pppoe? down" is dropped.
show more ...
|
#
3e34b59f |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
remove PP_CISCO that was used in obsoleted drivers e.g. lmc(4)
|
#
f1dc82f3 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Remove open event on tlf of PAP/CHAP when retry of them is over to prevent that LCP stops at Starting state.
And also remove retry counter check on tls of LCP because of unnecessary.
|
#
07641fa9 |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Do not if_down() when a down event of the lower layer of LCP is happened since the layer try to reconnect.
|
#
db21f66d |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Fix not to do if_down() before reconnect
Almost network interface do not use if_down() even when there is no connectivity. So, pppoe(4) is also made be not used it. This behavior can be rollbacked b
Fix not to do if_down() before reconnect
Almost network interface do not use if_down() even when there is no connectivity. So, pppoe(4) is also made be not used it. This behavior can be rollbacked by SPPP_IFDOWN_RECONNECT option.
show more ...
|
#
12a0be9d |
| 01-Jun-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
restart LCP when loopback packets are detected
In if_spppsubr.c down and up do not mean that LCP is stopping or running, but mean that the lower layer of LCP is up or down. And, restarting of LCP is
restart LCP when loopback packets are detected
In if_spppsubr.c down and up do not mean that LCP is stopping or running, but mean that the lower layer of LCP is up or down. And, restarting of LCP is had to use close event and open event.
show more ...
|
#
2dcd2416 |
| 19-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Make functions that use for logging MP-safe
There is no change in behavior.
|
#
f638d8f6 |
| 19-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added clear of dns addresses when IPCP is closed
|
#
b15c72a5 |
| 19-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added logs on dropping IPCP and IPv6CP packets
|
#
218a3757 |
| 19-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
remove a wrong ntohs().
The variable is already host-byte-order.
|