Files
linux-apfs/drivers/net
Simon Arlott ea8420e9f5 ppp_generic: pull 2 bytes so that PPP_PROTO(skb) is valid
In ppp_input(), PPP_PROTO(skb) may refer to invalid data in the skb.

If this happens and (proto >= 0xc000 || proto == PPP_CCPFRAG) then
the packet is passed directly to pppd.

This occurs frequently when using PPPoE with an interface MTU
greater than 1500 because the skb is more likely to be non-linear.

The next 2 bytes need to be pulled in ppp_input(). The pull of 2
bytes in ppp_receive_frame() has been removed as it is no longer
required.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-03 13:27:00 -07:00
..
2010-02-18 14:47:48 -08:00
2010-04-27 14:38:16 -07:00
2010-02-16 15:19:03 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2009-11-05 20:00:29 -08:00
2010-03-03 01:04:39 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-03-07 15:25:53 -08:00
2009-11-11 19:22:21 -08:00
2010-04-24 21:09:29 -07:00
2010-03-26 20:16:23 -07:00
2009-11-20 15:35:04 -08:00
2010-03-18 21:14:00 -07:00
2010-01-28 06:01:35 -08:00
2010-03-16 14:15:42 -07:00
2010-01-18 00:29:19 -08:00
2010-04-30 16:20:39 -07:00
2010-02-12 16:21:01 -08:00
2010-02-26 02:08:42 -08:00
2010-04-26 11:15:49 -07:00
2010-02-17 17:27:40 -08:00
2010-04-14 04:52:03 -07:00
2009-11-26 15:51:29 -08:00
2010-04-12 22:00:34 -07:00