[ovs-dev] [PATCH 2/5] datapath: Don't write into IPV4_TUNNEL data when using TUN_ID.
Kyle Mestery (kmestery)
kmestery at cisco.com
Wed Nov 7 02:37:39 UTC 2012
On Nov 6, 2012, at 6:50 PM, Jesse Gross <jesse at nicira.com> wrote:
> When the IPV4_TUNNEL action is executed, a pointer in the skb is
> directly assigned the address of the action, which is protected by
> RCU. If a TUN_ID action is later executed it will write into the
> action, which is not allowed by RCU. This avoids the problem by
> making a copy of the data and writing into the copy.
>
> Signed-off-by: Jesse Gross <jesse at nicira.com>
Makes sense.
Acked-by: Kyle Mestery <kmestery at cisco.com>
More information about the dev
mailing list