提交 479b1a58 编写于 作者: P Pravin B Shelar 提交者: David S. Miller

openvswitch: Use correct config guard.

This bug was introduced by commit aa310701
(openvswitch: Add gre tunnel support.)
Signed-off-by: NPravin B Shelar <pshelar@nicira.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7c77602f
......@@ -16,7 +16,7 @@
* 02110-1301, USA
*/
#ifdef CONFIG_NET_IPGRE_DEMUX
#if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/if.h>
......
......@@ -39,7 +39,7 @@ static const struct vport_ops *vport_ops_list[] = {
&ovs_netdev_vport_ops,
&ovs_internal_vport_ops,
#ifdef CONFIG_NET_IPGRE_DEMUX
#if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
&ovs_gre_vport_ops,
#endif
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册