From: Andy Zhou Date: Mon, 8 Sep 2014 07:35:02 +0000 (-0700) Subject: openvswitch: refactor do_output() to move NULL check out of fast path X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~252^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738967b8bf57e582db1a23ce773c36fefd4b7d37;p=pandora-kernel.git openvswitch: refactor do_output() to move NULL check out of fast path skb_clone() NULL check is implemented in do_output(), as past of the common (fast) path. Refactoring so that NULL check is done in the slow path, immediately after skb_clone() is called. Besides optimization, this change also improves code readability by making the skb_clone() NULL check consistent within OVS datapath module. Signed-off-by: Andy Zhou Signed-off-by: Pravin B Shelar --- Reading git-diff-tree failed