Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
651a5451
Commit
651a5451
authored
Dec 02, 2021
by
Gleb Smirnoff
Browse files
udp_detach(): fix set but not used warning
parent
bd1d0850
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/netinet/udp_usrreq.c
View file @
651a5451
...
...
@@ -1695,10 +1695,8 @@ static void
udp_detach
(
struct
socket
*
so
)
{
struct
inpcb
*
inp
;
struct
inpcbinfo
*
pcbinfo
;
struct
udpcb
*
up
;
pcbinfo
=
udp_get_inpcbinfo
(
so
->
so_proto
->
pr_protocol
);
inp
=
sotoinpcb
(
so
);
KASSERT
(
inp
!=
NULL
,
(
"udp_detach: inp == NULL"
));
KASSERT
(
inp
->
inp_faddr
.
s_addr
==
INADDR_ANY
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment