datapath: Remove redundant checks on SKBs.
authorJesse Gross <jesse@nicira.com>
Fri, 30 Jul 2010 02:01:02 +0000 (19:01 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 30 Jul 2010 20:35:20 +0000 (13:35 -0700)
commit67c74f7515867fb8b3a4d23af98dacd3d547ebdd
tree758154546a913e86d8683100211492d0390ee375
parent882c2399908b0f33f73651ccfc3aaf76a7858ce4
datapath: Remove redundant checks on SKBs.

On vport ingress we already check for shared SKBs but then later
warn in several other places.  In a similar vein, we check every
packet to see if it is LRO but only certain vports can produce
these packets.  Remove and consolidate checks to the places where
they are needed.
datapath/actions.c
datapath/datapath.c
datapath/vport-netdev.c