Re: [PATCH] net: flow_dissector: fix thoff for IPPROTO_AH
From: David Miller <davem@davemloft.net>
Date: 2013-09-30 19:34:09
From: David Miller <davem@davemloft.net>
Date: 2013-09-30 19:34:09
From: Eric Dumazet <redacted> 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.