Skip to content

Commit

Permalink
openvswitch: Use correct config guard.
Browse files Browse the repository at this point in the history
This bug was introduced by commit aa31070
(openvswitch: Add gre tunnel support.)

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Pravin B Shelar authored and David S. Miller committed Jun 24, 2013
1 parent 7c77602 commit 479b1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/openvswitch/vport-gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion net/openvswitch/vport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 479b1a5

Please sign in to comment.