commit | d5774b93f04252b81bd2c2cc84ec663c6aa798d1 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon Mar 06 16:39:53 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 08 23:08:57 2017 -0800 |
tree | c4c2895201f91f0cb5cfb5d78cc96501bd468007 | |
parent | 4a5d6c8b14b81e3704607a354434321e390d228a [diff] |
flow_dissector: Fix GRE header error path Now, when an unexpected element in the GRE header appears, we break so the l4 ports are processed. But since the ports are processed unconditionally, there will be certainly random values dissected. Fix this by just bailing out in such situations. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>