Skip to contentSkip to conversation

libipvs: Remove redundant CHECK_PE

PATCH Applied Ryan O'Hara 3 participants 3 messages Aug 20, 2013 – Aug 22, 2013 IPVS

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libipvs: Remove redundant CHECK_PE

Since the CHECK_COMPAT_SVC macro calls CHECK_PE, remove the extra CHECK_PE call from ipvs_get_service().

---
 libipvs/libipvs.c | 1 -
 1 file changed, 1 deletion(-)
libipvs/libipvs.c +0 -1
index ef242db..309ccce 100644
@@ -965,7 +965,6 @@ ipvs_get_service_err2:
 #endif
 
 	CHECK_COMPAT_SVC(svc, NULL);
-	CHECK_PE(svc, NULL);
 	if (getsockopt(sockfd, IPPROTO_IP, IP_VS_SO_GET_SERVICE,
 		       (char *)svc, &len)) {
 		free(svc);
Signature · 1 line
1.8.1.4
maintainer Acked-by on v1 1/2
#1 lore raw

Hello,

Quoted 4 lines · Ryan O'Hara

Since the CHECK_COMPAT_SVC macro calls CHECK_PE, remove the extra CHECK_PE call from ipvs_get_service().

Thanks, looks good,

Quoted 18 lines
---
 libipvs/libipvs.c | 1 -
 1 file changed, 1 deletion(-)
libipvs/libipvs.c +0 -1
index ef242db..309ccce 100644
@@ -965,7 +965,6 @@ ipvs_get_service_err2:
 #endif
 
 	CHECK_COMPAT_SVC(svc, NULL);
-	CHECK_PE(svc, NULL);
 	if (getsockopt(sockfd, IPPROTO_IP, IP_VS_SO_GET_SERVICE,
 		       (char *)svc, &len)) {
 		free(svc);
Signature · 1 line
1.8.1.4

Regards

--
Julian Anastasov <[email protected]>

maintainer Applied
#2 lore raw
Quoted 5 lines · Julian Anastasov

Hello,

On Tue, 20 Aug 2013, Ryan O'Hara wrote:

Quoted 8 lines
Quoted 4 lines

Since the CHECK_COMPAT_SVC macro calls CHECK_PE, remove the extra CHECK_PE call from ipvs_get_service().

Thanks, looks good,

Thanks, applied.

Quoted 25 lines
Quoted 19 lines
---
 libipvs/libipvs.c | 1 -
 1 file changed, 1 deletion(-)
libipvs/libipvs.c +0 -1
index ef242db..309ccce 100644
@@ -965,7 +965,6 @@ ipvs_get_service_err2:
 #endif
 
 	CHECK_COMPAT_SVC(svc, NULL);
-	CHECK_PE(svc, NULL);
 	if (getsockopt(sockfd, IPPROTO_IP, IP_VS_SO_GET_SERVICE,
 		       (char *)svc, &len)) {
 		free(svc);
Signature · 1 line
1.8.1.4

Regards

--
Julian Anastasov <[email protected]>