diff options
author | Roland Dreier <roland@purestorage.com> | 2012-07-06 07:39:34 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-07-09 03:04:32 +0200 |
commit | d90f9b3591b3b5fa86178e318008fc1c531a84dc (patch) | |
tree | 4d822267a4b756900a50b215c42807e8b70f4716 /drivers/infiniband/ulp | |
parent | Linux 3.5-rc5 (diff) | |
download | linux-d90f9b3591b3b5fa86178e318008fc1c531a84dc.tar.xz linux-d90f9b3591b3b5fa86178e318008fc1c531a84dc.zip |
IB: Use IS_ENABLED(CONFIG_IPV6)
Instead of testing defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c index 014504d8e43c..fd3871e3f65b 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c @@ -1376,7 +1376,7 @@ static void ipoib_cm_skb_reap(struct work_struct *work) if (skb->protocol == htons(ETH_P_IP)) icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu)); -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6) else if (skb->protocol == htons(ETH_P_IPV6)) icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu); #endif |