Re: [PATCH] net: flow_dissector: fix thoff for IPPROTO_AH

David Miller
2013-09-30T19:34:09Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 26 Sep 2013 08:44:06 -0700

> From: Eric Dumazet <edumazet@google.com>
>
> In commit 8ed781668dd49 ("flow_keys: include thoff into flow_keys for
> later usage"), we missed that existing code was using nhoff as a
> temporary variable that could not always contain transport header
> offset.
>
> This is not a problem for TCP/UDP because port offset (@poff)
> is 0 for these protocols.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied and queued up for -stable, thanks Eric.