Skip to content
Commit 7c5050e3 authored by Paul Mackerras's avatar Paul Mackerras Committed by David S. Miller
Browse files

[PPP]: Fix skbuff.c:BUG due incorrect logic in process_input_packet()



From: Paul Mackerras <paulus@samba.org>

This fixes:

Subject: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

process_input_packet() treats the case where the first byte is 0xff
(PPP_ALLSTATIONS) but the second byte is 0x03 (PPP_UI) as indicating a
packet with a PPP protocol number of 0xff.  Arguably that's wrong
since PPP protocol 0xff is reserved, and the RFC does envision the
possibility of receiving frames where the control field has values
other than 0x03.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 895e1fc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment