summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAndy Zhou2014-07-18 00:17:44 +0200
committerPravin B Shelar2014-07-24 18:37:20 +0200
commitf53e38317d581399eb67809d6b6b6c2c107db50c (patch)
tree2c289fa62e00614a8267cecfac3a9c7703b3aef8 /init
parentopenvswitch: Enable tunnel GSO for OVS bridge. (diff)
downloadkernel-qcow2-linux-f53e38317d581399eb67809d6b6b6c2c107db50c.tar.gz
kernel-qcow2-linux-f53e38317d581399eb67809d6b6b6c2c107db50c.tar.xz
kernel-qcow2-linux-f53e38317d581399eb67809d6b6b6c2c107db50c.zip
openvswitch: Avoid memory corruption in queue_userspace_packet()
In queue_userspace_packet(), the ovs_nla_put_flow return value is not checked. This is fine as long as key_attr_size() returns the correct value. In case it does not, the current code may corrupt buffer memory. Add a run time assertion catch this case to avoid silent failure. Reported-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions