CVSROOT:        /cvs
Module name:    src
Changes by:     to...@cvs.openbsd.org   2022/05/14 03:46:15

Modified files:
        sys/net        : if_pppoe.c 

Log message:
When receiving a PADO offer, clear stored tags from previous PADO packets.
Keeping and combining tags from multiple previous packets could result in
a single accumulated reply overrunning mbuf size limits.  Also make sure
the tag size fields are reset to 0 if allocation fails.

Add size check on mbuf cluster allocation and fail if more than MCLBYTES
are requested.

>From NetBSD.

tested by naddy@
ok bluhm@

Reply via email to