@@ -140,7 +140,6 @@ global:
_print_multipath_topology;
pthread_cond_init_mono;
recv_packet;
- recv_packet_from_client;
reinstate_paths;
remember_wwid;
remove_map;
@@ -128,8 +128,3 @@ int recv_packet(int fd, char **buf, unsigned int timeout)
{
return _recv_packet(fd, buf, timeout, 0 /* no limit */);
}
-
-int recv_packet_from_client(int fd, char **buf, unsigned int timeout)
-{
- return _recv_packet(fd, buf, timeout, _MAX_CMD_LEN);
-}
@@ -5,9 +5,3 @@ int recv_packet(int fd, char **buf, unsigned int timeout);
#define _MAX_CMD_LEN 512
-/*
- * Used for receiving socket command from untrusted socket client where data
- * size is restricted to 512(_MAX_CMD_LEN) at most.
- * Return -EINVAL if data length requested by client exceeded the _MAX_CMD_LEN.
- */
-int recv_packet_from_client(int fd, char **buf, unsigned int timeout);