ppp: Remove direct skb_queue_head list pointer access.
authorDavid S. Miller <davem@davemloft.net>
Sun, 12 Aug 2018 01:43:38 +0000 (18:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:06:53 +0000 (10:06 -0700)
commit8b69bd7d8a8927d537f134c37bcca6cbfa58e1b2
tree4f15d43212cf8d4ccb712d23e5c7c21999e39477
parent0c69198d81dcf4918d9cf5fe72504eecdd49f839
ppp: Remove direct skb_queue_head list pointer access.

Add a helper, __skb_peek(), and use it in ppp_mp_reconstruct().

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_generic.c
include/linux/skbuff.h