net: Simplify GRE case in flow_dissector
authorTom Herbert <tom@herbertland.com>
Thu, 4 Jun 2015 16:16:36 +0000 (09:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 22:44:30 +0000 (15:44 -0700)
commitce3b5355477ce99bffa60a6a215f2e11db4b649c
tree6093434cce0554125a03988266c3f9a30292180f
parentffaa31d7945f14edb04d7b2792a1dbd3a854a2bc
net: Simplify GRE case in flow_dissector

Do break when we see routing flag or a non-zero version number in GRE
header.

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c