summaryrefslogtreecommitdiff
path: root/sys/net/if_pppoe.c
AgeCommit message (Expand)Author
2022-08-15Fix stall on PPPOE_STATE_PADR_SENT, suggested by martin@n.o, thanks.knakahara
2022-08-12Fix stall on PPPOE_STATE_PADR_SENT when received specific PADO, ok'ed by yama...knakahara
2022-05-23s/controll/control/ in comments.andvar
2022-05-10Zeroize the length explicitly when malloc failed. Pointed out by yamaguchi@n.o.knakahara
2022-05-04Do not allocate mbuf clusters when the caller (eroneously) asksmartin
2021-10-11Make pktq_rps_hash() pluggable for each interface type. Reviewed by gdt@n.o,...knakahara
2021-06-16if_attach and if_initialize cannot fail, don't test return valueriastradh
2021-05-19Added a kernel option to change the number of processing packetsyamaguchi
2021-05-19Added a limitation of the number of processing packetsyamaguchi
2021-05-18Added missing PPPOE_UNLOCK() on dropping PADS and PADTyamaguchi
2021-05-13Drop PADS and PADT from unknown host for safetyyamaguchi
2021-05-13Change reconnect delay after PADT received (15 sec -> 5 sec)yamaguchi
2021-05-13Accept a frame like a PADT just containing PPPoE headeryamaguchi
2021-04-22Added missing free of sc_hunique to prevent memory leakyamaguchi
2021-04-16Stop and destroy timeout after sppp_detach and if_detachyamaguchi
2021-04-16Remove unnecessaly lock holdings to avoid dead lockyamaguchi
2021-04-16Stop ppp layer at first of destroying pppoe interfaceyamaguchi
2021-04-16Sort initialization sequence in pppoe_clone_create() outyamaguchi
2021-04-16Use kmem_zalloc to allocate pppoe_softcyamaguchi
2021-04-16Move initialization of sc_lock in pppoe_softc to firstyamaguchi
2021-04-16commonize error handling in pppoe_clone_create()yamaguchi
2021-04-13Reschedule softint to process packets enqueued to ppoediscinqyamaguchi
2021-04-13Added missing counter clear when a pppoe state changes to PADI_SENTyamaguchi
2021-04-13Added a NULL check for parent interface of pppoeyamaguchi
2021-04-13Hold the lock for pppoe while referencing sc_idyamaguchi
2020-11-25Fix to reconnect after PADT receivedyamaguchi
2020-11-25add a logging function used at debugging pppoe(4)yamaguchi
2020-11-25fix to remove trailing garbageyamaguchi
2020-11-25stop callout even when the state is in PPPOE_STATE_INITIALyamaguchi
2020-11-25Close lcp when the lower layer down if the interface is passive or on-demandyamaguchi
2020-09-25Add a function to copy AC-Name and Service-Nameyamaguchi
2020-09-25Clear AC-Name and Service-Name if params are not specifiedyamaguchi
2020-09-18Do pppoe_timeout() in thread contextyamaguchi
2020-09-18Use callout_setfunc and callout_scheduleyamaguchi
2020-02-10safely extract character sequences from packet for printing.mlelstv
2020-01-29Adopt <net/if_stats.h>.thorpej
2019-03-18 s/pakcet/packet/ in comment.msaitoh
2018-10-27Remove printfs that are too easily reachable, switch to M_REGION_GET,maxv
2018-10-27stylemaxv
2018-09-30remove hardcoded bullshit, probably fixes PR/53644maxv
2018-08-24Use a random hunique, instead of sending the pointer of the interface.maxv
2018-08-13Clarify two functions.maxv
2018-06-26 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backwardmsaitoh
2018-06-18Fix to aquire pppoe_softc_list_lock before read and write the listyamaguchi
2018-06-18Fix not to use PPPOE_UNLOCK before acccess to pppoe_softcyamaguchi
2018-05-25Ensure to call if_register after interface initializations finishozaki-r
2018-05-03Drop early if there's no PPPoE interface. Otherwise it is easy for someonemaxv
2018-04-18Fix sending PADT to unexpected hosts when net.pppoe.term_unknown is enabled.knakahara
2018-04-18net.pppoe.term_unknown can be written safely now.knakahara
2018-02-12Use m_freem instead of m_free. Otherwise we're leaking the next mbufs inmaxv