flow_dissector: Jump to exit code in __skb_flow_dissect
authorTom Herbert <tom@herbertland.com>
Tue, 1 Sep 2015 16:24:26 +0000 (09:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 22:06:22 +0000 (15:06 -0700)
commita6e544b0a88b53114bfa5a57e21b7be7a8dfc9d0
tree7e9edf38b386974620e002467570da7da756ec8d
parentc6cc1ca7f4d70cbb3ea3a5ca163c5dabaf155cdb
flow_dissector: Jump to exit code in __skb_flow_dissect

Instead of returning immediately (on a parsing failure for instance) we
jump to cleanup code. This always sets protocol values in key_control
(even on a failure there is still valid information in the key_tags that
was set before the problem was hit).

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