summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_mroute.c
AgeCommit message (Expand)Author
2023-06-14Add missing kernel lock around (*if_ioctl)().Vitaliy Makkoveev
2023-04-19move kernel lock into multicast ioctl handlers; OK mvsKlemens Nanni
2022-09-08Rename global ifnet TAILQKlemens Nanni
2022-08-06Clean up the netlock macros. Merge NET_RLOCK_IN_SOFTNET andAlexander Bluhm
2022-05-05Use static objects for struct rttimer_queue instead of dynamicallyClaudio Jeker
2022-05-04Move rttimer callback function from the rttimer itself to rttimer_queue.Claudio Jeker
2022-04-30Convert the 2nd rttimer callback from struct rttimer to u_int rtableid.Claudio Jeker
2022-04-28In the multicast router code don't allocate a rt timer queue for eachClaudio Jeker
2021-12-15structure pads can leak uninitialized memory to userland via copyout,Theo de Raadt
2020-05-27Document the various flavors of NET_LOCK() and rename the reader version.Martin Pieuchot
2020-03-15Guard SIOCDELMULTI if_ioctl calls with KERNEL_LOCK() where the call isVisa Hankala
2019-09-02Fix a route use after free in multicast route. Move the rt_mcast_del()Alexander Bluhm
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot
2019-06-04Add missing NULL check for the protocol control block (pcb) pointer inanton
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
2019-02-10remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.David Gwynne
2018-10-10RT_TABLEID_MAX is 255, fix places that assumed that it is less than 255.Reyk Floeter
2018-04-30Reduce the scope of the NET_LOCK() in in_control(). Two functions wereTheo Buehler
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-19The IP multicast forward functions return an errno, call the variableAlexander Bluhm
2017-05-16Sync three changes that were caught by IPv6 multicast routing review:Rafael Zalamena
2017-05-16Make return values more meaningful by using errno instead of -1 or 1.Rafael Zalamena
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-16Let malloc() block when the caller of the add route function isRafael Zalamena
2017-05-16Call rtfree() after each use of routes and make sure the route is validRafael Zalamena
2017-04-06Convert bcopy to memcpy where the memory does not overlap, otherwise,David Hill
2017-03-17Be more strict on all route iterations, lets always make sure that weRafael Zalamena
2017-03-14Make mfc_find() more strict when looking for routes, fixes a problemRafael Zalamena
2017-02-09Unbreak 'netstat -g' and make multicast route stats sysctl more robust.Rafael Zalamena
2017-02-08Test for NULL before dereferencing a pointer not after.Jonathan Gray
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-12Clean up multicast files from unused definitions and comments.Rafael Zalamena
2017-01-11Remove mfc hash tables and use the OpenBSD routing table for multicastRafael Zalamena
2017-01-06Remove the global viftable vector that holds the virtual interfacesRafael Zalamena
2017-01-06Simplify code by removing some old pullup macro, killing some variablesRafael Zalamena
2017-01-06Kill various splsoftnet().Martin Pieuchot
2017-01-05Remove some unnecessary code abstractions and while here remove aRafael Zalamena
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
2016-12-21Fix build without PIM defined.Martin Pieuchot
2016-12-21Fix PIM compilation even though it is disabled.Rafael Zalamena
2016-12-20Call the multicast timer callback per domain instead of for all domainsRafael Zalamena
2016-12-20Remove unused timeout that was never being set.Rafael Zalamena
2016-12-19Kill unused function.Rafael Zalamena
2016-12-19Extend the multicast sockets and multicast hash table support to multipleRafael Zalamena
2016-12-13Propagate the routing table id in ip_mrouter_set() so the MRT_ADD_VIFRafael Zalamena
2016-11-29Kill unused 'struct route'.Martin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-09-24use hashfree. from Mathieu -Ted Unangst
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber