datapath: fix sparse warning in function tbl_mask_array_delete_mask()
authorAndy Zhou <azhou@nicira.com>
Tue, 24 Jun 2014 06:00:55 +0000 (23:00 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 1 Jul 2014 19:57:29 +0000 (12:57 -0700)
commit80a7d673e610508c66103fb7f5174a93dc8b4df9
tree54da2f869f0a325bb8c0eebcdf5a1281419d1d6c
parent20941fe5ef0e3e044f963443abfab2ef987f312e
datapath: fix sparse warning in function tbl_mask_array_delete_mask()

Sparse gives "incompatible types in comparison expression (different
address spaces)" warning messages. Fix this by add rcu_dereference()
wrappers.

Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/flow_table.c