Re: [PATCH] Update pptp handling to avoid null pointer deref. v2

From: David Miller
Date: Mon Jan 02 2017 - 12:56:54 EST


From: Ian Kumlien <ian.kumlien@xxxxxxxxx>
Date: Mon, 2 Jan 2017 09:18:35 +0100

> __skb_flow_dissect can be called with a skb or a data packet, either
> can be NULL. All calls seems to have been moved to __skb_header_pointer
> except the pptp handling which is still calling skb_header_pointer.
...
> Fixes: ab10dccb1160 ("rps: Inspect PPTP encapsulated by GRE to get flow hash")
> Signed-off-by: Ian Kumlien <ian.kumlien@xxxxxxxxx>

Applied and queued up for -stable.