datapath: Use nla_len() in queue_userspace_packet().
authorJesse Gross <jesse@nicira.com>
Tue, 19 Feb 2013 19:01:33 +0000 (11:01 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 19 Feb 2013 19:01:33 +0000 (11:01 -0800)
commit462a988b99d6bdc34bea617ad42aecc5cfa61901
treef2ea7842a050dcc3be7fc3d01689dd2477448e17
parentbb374ef6703b6c8b16bf52fa5a7962d7b7b554e1
datapath: Use nla_len() in queue_userspace_packet().

Commit e995e3df57ea4e27678bc0bea5eb30872994155b (Allow
OVS_USERSPACE_ATTR_USERDATA to be variable length.) introduced an
open coded version of nla_len() in queue_userspace_packet().  This
replaces it with the equivalent function call.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c