diff options
Diffstat (limited to 'net/batman-adv/icmp_socket.c')
-rw-r--r-- | net/batman-adv/icmp_socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/icmp_socket.c b/net/batman-adv/icmp_socket.c index d27db8192e93..38ca3a853a2b 100644 --- a/net/batman-adv/icmp_socket.c +++ b/net/batman-adv/icmp_socket.c | |||
@@ -34,7 +34,7 @@ static void bat_socket_add_packet(struct socket_client *socket_client, | |||
34 | struct icmp_packet_rr *icmp_packet, | 34 | struct icmp_packet_rr *icmp_packet, |
35 | size_t icmp_len); | 35 | size_t icmp_len); |
36 | 36 | ||
37 | void bat_socket_init(void) | 37 | void batadv_socket_init(void) |
38 | { | 38 | { |
39 | memset(socket_client_hash, 0, sizeof(socket_client_hash)); | 39 | memset(socket_client_hash, 0, sizeof(socket_client_hash)); |
40 | } | 40 | } |
@@ -276,7 +276,7 @@ static const struct file_operations fops = { | |||
276 | .llseek = no_llseek, | 276 | .llseek = no_llseek, |
277 | }; | 277 | }; |
278 | 278 | ||
279 | int bat_socket_setup(struct bat_priv *bat_priv) | 279 | int batadv_socket_setup(struct bat_priv *bat_priv) |
280 | { | 280 | { |
281 | struct dentry *d; | 281 | struct dentry *d; |
282 | 282 | ||
@@ -336,8 +336,8 @@ static void bat_socket_add_packet(struct socket_client *socket_client, | |||
336 | wake_up(&socket_client->queue_wait); | 336 | wake_up(&socket_client->queue_wait); |
337 | } | 337 | } |
338 | 338 | ||
339 | void bat_socket_receive_packet(struct icmp_packet_rr *icmp_packet, | 339 | void batadv_socket_receive_packet(struct icmp_packet_rr *icmp_packet, |
340 | size_t icmp_len) | 340 | size_t icmp_len) |
341 | { | 341 | { |
342 | struct socket_client *hash = socket_client_hash[icmp_packet->uid]; | 342 | struct socket_client *hash = socket_client_hash[icmp_packet->uid]; |
343 | 343 | ||