ofproto-dpif: Probe for userdata after backer is fully operational.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 11 Sep 2014 20:27:29 +0000 (13:27 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Thu, 11 Sep 2014 20:27:29 +0000 (13:27 -0700)
commit48931b58591740da5644a89e7ab75107af3487d8
treefc79221ede42d3b05e3727b26ae23ec7237ba132
parent5df26bd0e9c91bccd2e12f84fe08dbe37f8de362
ofproto-dpif: Probe for userdata after backer is fully operational.

When probing for variable length userdata before handler threads are
set, the pid included in the userspace action will be 0, which is
flagged as an error by the linux kernel datapath.  As a result the
feature probe will produce an unnecessary log message.  By probing for
variable length userdata later the probe works as intended and the
unnecessary log message is avoided.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c