datapath: Don't recursively sample packets or reset their "tun_id"s.
authorBen Pfaff <blp@nicira.com>
Thu, 23 Dec 2010 17:35:15 +0000 (09:35 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 24 Dec 2010 01:12:18 +0000 (17:12 -0800)
commit871dfe078f3b4d03de36b6c7d9e5c91b7104cfa8
tree725432b501e77956454a55c34f306bac11d810f1
parente4fd8d288ad1530be566cdeb503fb63a43c149ff
datapath: Don't recursively sample packets or reset their "tun_id"s.

execute_actions() is called recursively when ODPAT_SET_DL_TCI adds a VLAN
header to a GSO packet, but we don't want to re-sample the sub-packet or
re-reset its tun_id, so break those two actions into a wrapper function.

This commit mostly moves code around without modifying it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/actions.c