Skip to content
Commit a9341512 authored by Jesse Gross's avatar Jesse Gross
Browse files

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: default avatarJesse Gross <jesse@nicira.com>
parent 330305cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment