diff options
Diffstat (limited to 'datapath/tunnel.c')
-rw-r--r-- | datapath/tunnel.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/datapath/tunnel.c b/datapath/tunnel.c index b2d7b8ea..9518fa30 100644 --- a/datapath/tunnel.c +++ b/datapath/tunnel.c @@ -809,7 +809,6 @@ struct vport *ovs_tnl_create(const struct vport_parms *parms, struct vport *vport; struct tnl_vport *tnl_vport; struct tnl_mutable_config *mutable; - int initial_frag_id; int err; vport = ovs_vport_alloc(sizeof(struct tnl_vport), vport_ops, parms); @@ -829,9 +828,6 @@ struct vport *ovs_tnl_create(const struct vport_parms *parms, goto error_free_vport; } - get_random_bytes(&initial_frag_id, sizeof(int)); - atomic_set(&tnl_vport->frag_id, initial_frag_id); - err = tnl_set_config(ovs_dp_get_net(parms->dp), parms->options, tnl_ops, NULL, mutable); if (err) |