aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJesse Gross <[email protected]>2013-03-26 15:48:38 -0700
committerJesse Gross <[email protected]>2013-03-27 09:07:40 -0700
commita9341512c372fcc628dabc619898d910a06c54bc (patch)
tree0651be3fffbb5b5eb06401a41bb362b95326a4e8 /lib/memory-notifier-error-inject.c
parent330305cc4a6b0cb75c22fc01b8826f0ad755550f (diff)
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 <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions