aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/icmp_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/icmp_socket.c')
-rw-r--r--net/batman-adv/icmp_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/icmp_socket.c b/net/batman-adv/icmp_socket.c
index f2f578b1d9f0..f5373a2a4d0b 100644
--- a/net/batman-adv/icmp_socket.c
+++ b/net/batman-adv/icmp_socket.c
@@ -225,7 +225,7 @@ static ssize_t batadv_socket_write(struct file *file, const char __user *buff,
225 if (!neigh_node->if_incoming) 225 if (!neigh_node->if_incoming)
226 goto dst_unreach; 226 goto dst_unreach;
227 227
228 if (neigh_node->if_incoming->if_status != IF_ACTIVE) 228 if (neigh_node->if_incoming->if_status != BATADV_IF_ACTIVE)
229 goto dst_unreach; 229 goto dst_unreach;
230 230
231 memcpy(icmp_packet->orig, 231 memcpy(icmp_packet->orig,