Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cefb178
)
vcl: fix ldp ioctl FIONBIO handler
13/38813/3
author
Florin Coras
<fcoras@cisco.com>
Thu, 11 May 2023 18:45:34 +0000
(11:45 -0700)
committer
Dave Barach
<vpp@barachs.net>
Fri, 12 May 2023 23:59:38 +0000
(23:59 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ife5f72dc9587c9f6b8aa513cd039fa28bb22fca3
src/vcl/ldp.c
patch
|
blob
|
history
diff --git
a/src/vcl/ldp.c
b/src/vcl/ldp.c
index
b750671
..
ffe1673
100644
(file)
--- a/
src/vcl/ldp.c
+++ b/
src/vcl/ldp.c
@@
-610,7
+610,7
@@
ioctl (int fd, unsigned long int cmd, ...)
case FIONBIO:
{
- u32 flags =
va_arg (ap, int
) ? O_NONBLOCK : 0;
+ u32 flags =
*(va_arg (ap, int *)
) ? O_NONBLOCK : 0;
u32 size = sizeof (flags);
/* TBD: When VPPCOM_ATTR_[GS]ET_FLAGS supports flags other than