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:54:07 +0000 (12:54 -0700)
commitcc4015df5f24df80ad8ebf0ed965782b44964b4e
treee37c05f50693a9dde697acd3eb6483b75fde66b1
parent0993b66bf85d8816b1937675364c8ff268ccecd8
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