[ovs-git] Open vSwitch: datapath: Preallocate reply skb in ovs_vport_cmd_set(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Mar 26 22:28:33 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c25ea53406a819bc2acff7b50e804c21f307bdec (commit)
      from  6901e5e22831a78797b90bd1588bb8f3e8fdeac1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c25ea53406a819bc2acff7b50e804c21f307bdec
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c25ea53406a819bc2acff7b50e804c21f307bdec
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Preallocate reply skb in ovs_vport_cmd_set().
		
Allocation of the Netlink notification skb can potentially fail
after changing vport configuration.  In general, we try to avoid
this by undoing any change we made but that is difficult for existing
objects.  This avoids the problem by preallocating the buffer (which
is fixed size).

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list