#ifndef COLORS_H
#define COLORS_H
#define __reset "0"
#define __bold "1"
#define __black "30"
#define __red "31"
#define __green "32"
#define __yellow "33"
#define __blue "34"
#define __magenta "35"
#define __cyan "36"
#define __white "37"
#define __on_black "40"
#define __on_red "41"
#define __on_green "42"
#define __on_yellow "43"
#define __on_blue "44"
#define __on_magenta "45"
#define __on_cyan "46"
#define __on_white "47"
#endif /* COLORS_H */
logo'/>
index : net-next.git | |
net-next plumbings | Tobias Klauser |
RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
If IPV6 has not been enabled in the underlying kernel, we must avoid
calling IPV6 procedures in rdma_cm.ko.
This requires using "IS_ENABLED(CONFIG_IPV6)" in "if" statements
surrounding any code which calls external IPV6 procedures.
In the instance fixed here, procedure cma_bind_addr() called
ipv6_addr_type() -- which resulted in calling external procedure
__ipv6_addr_type().
Fixes: 6c26a77124ff ("RDMA/cma: fix IPv6 address resolution")
Cc: <stable@vger.kernel.org> # v4.2+
Cc: Spencer Baugh <sbaugh@catern.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>