dpif: Optimize no-actions case in dpif_execute().
authorBen Pfaff <blp@nicira.com>
Wed, 8 Apr 2009 16:45:43 +0000 (09:45 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Apr 2009 17:36:21 +0000 (10:36 -0700)
commitb24afa81b5f6b4bd0167084cb4e60d2cfeef3732
tree2838deb9af2188f9e0d3176aa2bcb0743e1d718e
parentd2ef15eeea204174b3cf58d1ae95dfbe7825a30d
dpif: Optimize no-actions case in dpif_execute().

If there are no actions, then the packet will get dropped in the kernel,
so there's no point in making the system call at all.
lib/dpif.c