summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 9a15d6b..dc215bd 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -6351,7 +6351,7 @@ sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp,
* ep already and are binding. No remove going on
* here.
*/
- SCTP_INP_DECR_REF(inp);
+ SCTP_INP_DECR_REF(lep);
}
if (lep == inp) {
/* already bound to it.. ok */
OpenPOWER on IntegriCloud