vcl: ldp placeholder for SO_LINGER

Make sure we don't return error if app tries to setsockopt it.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I1a9a6a8da03380b0b6a6d01efed9b672a3f0b1f9
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index f27f6ba..4d62a73 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -2067,6 +2067,9 @@
 	      rv = vls_attr (vlsh, VPPCOM_ATTR_SET_BROADCAST,
 			     (void *) optval, &optlen);
 	      break;
+	    case SO_LINGER:
+	      rv = 0;
+	      break;
 	    default:
 	      LDBG (0, "ERROR: fd %d: setsockopt SOL_SOCKET: vlsh %u "
 		    "optname %d unsupported!", fd, vlsh, optname);