datapath: remove RCU annotation from flow->mask
authorAndy Zhou <azhou@nicira.com>
Mon, 22 Jul 2013 22:08:00 +0000 (15:08 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 22 Jul 2013 22:24:42 +0000 (15:24 -0700)
commit3d097064102780d79c9124f507160d538465ce64
treee277c58eb7edc2fd5040367ab5a4eb98912c4a7f
parent1ee36331712ff827496ceb8287d5137752afd719
datapath: remove RCU annotation from flow->mask

After a mask is assigned to a flow, it will not change for the life of
the flow. Since flow access is protected by RCU lock, access to
flow->mask after getting a flow is always safe.

Suggested-by: Jesse Gross <jesse@nicira.com>
Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/flow.c
datapath/flow.h