From: Jesse Gross Date: Tue, 26 Mar 2013 22:48:38 +0000 (-0700) Subject: openvswitch: Preallocate reply skb in ovs_vport_cmd_set(). X-Git-Tag: v3.9-rc8~7^2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9341512c372fcc628dabc619898d910a06c54bc;p=pandora-kernel.git openvswitch: 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 --- Reading git-diff-tree failed