datapath: Set vport in skb when executed from userspace.
authorJesse Gross <jesse@nicira.com>
Mon, 1 Aug 2011 07:35:20 +0000 (00:35 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 14 Sep 2011 19:56:57 +0000 (12:56 -0700)
commite087eb215b346ac42fc9d7b96faeb272aa5d68e7
tree563e181b9bf3bd464dcced8cb5b63040268c6de6
parentc5e3adc986cd6e44d69170ad9a84c0970653665f
datapath: Set vport in skb when executed from userspace.

Currently, the OVS_CB(skb)->vport member is never initialized for
packets coming from userspace.  This means that they can never be
sampled by sFlow and generally violates our principle that userspace
packets should be made to look the same as others.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin Shelar <pshelar@nicira.com>
datapath/datapath.c