summaryrefslogtreecommitdiff
path: root/kernel/driver
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2025-12-11 00:59:51 +0200
committerDenys Fedoryshchenko <denys.f@collabora.com>2025-12-11 01:01:05 +0200
commit6fbb4a900c17c28ecf2f6d0b620cfffe5bdd6b39 (patch)
tree11e9ef4cf04b267814100bf47e5291657e627c6f /kernel/driver
parent0a89d44ce83738f3253709eb1d450cc25c80943e (diff)
downloadaccel-ppp-6fbb4a900c17c28ecf2f6d0b620cfffe5bdd6b39.tar.gz
accel-ppp-6fbb4a900c17c28ecf2f6d0b620cfffe5bdd6b39.zip
pppoe: Fix RFC2516 non-compilance in PADI tags parsing
We currently only break out of the switch, so the for loop keeps parsing tags after TAG_END_OF_LIST (accel-pppd/ctrl/pppoe/pppoe.c: around pppoe_recv_PADI). RFC 2516 (paragraph 5, Tag Types: End-of-List) says an End-of-List tag MAY appear in PADI/PADR and "any TAGs after an End-of-List MUST be ignored." Since we continue processing them, this behavior is technically non-compliant with the RFC. Same in pppoe_recv_PADR. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'kernel/driver')
0 files changed, 0 insertions, 0 deletions