summaryrefslogtreecommitdiffstats
path: root/net/x25
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2014-09-08 00:35:02 -0700
committerPravin B Shelar <pshelar@nicira.com>2014-11-05 23:52:34 -0800
commit738967b8bf57e582db1a23ce773c36fefd4b7d37 (patch)
treeb8a6a56e9eaa280fc10371002bb6d8fef790ab04 /net/x25
parent426cda5cc177301f9c196f3a9b6a1287051ba599 (diff)
downloadblackbird-op-linux-738967b8bf57e582db1a23ce773c36fefd4b7d37.tar.gz
blackbird-op-linux-738967b8bf57e582db1a23ce773c36fefd4b7d37.zip
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 <azhou@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud