datapath: call tnl_ops only after setting options
authorValient Gough <vgough@pobox.com>
Fri, 25 Feb 2011 05:45:18 +0000 (21:45 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 25 Feb 2011 20:32:47 +0000 (12:32 -0800)
commitab182259ed24ebe2027a2ac7a3b8629da43e5a89
treea8d7dd8462c56cb1b2c53dc5ac34d27f4701bd2c
parent99620d2c1b01045a652d586da3c46608f7c59eda
datapath: call tnl_ops only after setting options

Calling methods in tnl_ops should be done only after initializing the tunnel
configuration options.  This patch moves the hdr_len call after the output key
setup.

Signed-off-by: Valient Gough <vgough@pobox.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/tunnel.c