[sr-dev] [kamailio/kamailio] Fix 2 issues that prevent auto_bind_ipv6 from happening on my setup (#2595)

Paul Komkoff notifications at github.com
Mon Jan 4 15:31:25 CET 2021


#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

#### Checklist:
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description

Without the first commit, on my setup - which has lots of interfaces with lots of addresses - auto_bind_ipv6 will make kamailio stuck on startup. It actually happens in get_flags, where data sent back from kernel can't fit into 8K anymore.

Second commit is fixing obvious typo while we're at it.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/2595

-- Commit Summary --

  * core: work around interface enum buffer overrun
  * core: fix unused argument in socket_info.c:get_flags

-- File Changes --

    M src/core/socket_info.c (21)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2595.patch
https://github.com/kamailio/kamailio/pull/2595.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210104/d419f06c/attachment.htm>


More information about the sr-dev mailing list