tunneling: Simplify ovs_tnl_send() error handling code.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 6 Mar 2013 00:39:01 +0000 (16:39 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 6 Mar 2013 00:39:01 +0000 (16:39 -0800)
commitc9e5dfbd18dc6ba826a6e5751507040284ed45da
tree9ff4122f8c43f55f83cd0229ea7bbc636f542f88
parentfe00a371e1ad32c141de563f3d0e6a651ce71c58
tunneling: Simplify ovs_tnl_send() error handling code.

Following commit slightly improves code readability. It is
also correctness fix as ip_local_out() was storing error
code in err which was not int.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/tunnel.c