diff options
author | Radu Bulie <radu.bulie@freescale.com> | 2013-07-12 12:16:10 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-22 22:10:38 (GMT) |
commit | ff82c482582aeea4e5c822d2183b21909d277386 (patch) | |
tree | df66a2c5096d9072294a65d3fae9688dcac9c158 /drivers | |
parent | 1f4adc0a9a01b72eea5bf38fe9f6a934b2f90ce4 (diff) | |
download | linux-fsl-qoriq-ff82c482582aeea4e5c822d2183b21909d277386.tar.xz |
dpa_offload: Copy storage profile id to userspace during look-up by key or by ref operations
Not all parameters were copied to userspace in classifier wrapper during look-up by
key or by ref operations.
The patch fixes the above issue.
Change-Id: I4c33455a327c8dfd6fd0fa28d13cc7e28b856714
Signed-off-by: Radu Bulie <radu.bulie@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/3281
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c b/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c index 6d59682..26cab69 100644 --- a/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c +++ b/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c @@ -2411,7 +2411,8 @@ int dpa_cls_tbl_action_params_rcompatcpy( uparam->enq_params.new_fqid = kparam->enq_params.new_fqid; uparam->enq_params.hmd = kparam->enq_params.hmd; - + uparam->enq_params.new_rel_vsp_id = + kparam->enq_params.new_rel_vsp_id; if (kparam->enq_params.policer_params) { BUG_ON(!compat_ptr(uparam->enq_params.policer_params)); if (copy_to_user( |