]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/openvswitch/datapath.c
ovs: fix dp check in ovs_dp_reset_user_features
authorJiri Pirko <jiri@resnulli.us>
Fri, 14 Feb 2014 10:42:36 +0000 (11:42 +0100)
committerJesse Gross <jesse@nicira.com>
Sun, 16 Feb 2014 01:24:19 +0000 (17:24 -0800)
commit3c7eacfc8a9a4c2bd48e0093c4f43cf69afd5210
tree4f3f5fcfe09e70e605ff4d14eaeba3f9136550b4
parentc14e0953ca51dbcb8d1ac92acbdcff23d0caa158
ovs: fix dp check in ovs_dp_reset_user_features

This fixes crash when userspace does "ovs-dpctl add-dp dev" where dev is
existing non-dp netdevice.

Introduced by:
commit 44da5ae5fbea4686f667dc854e5ea16814e44c59
"openvswitch: Drop user features if old user space attempted to create datapath"

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c