Replace a comment about RSVP/mrouting with a different but similar comment
explaining that some more locking is needed. The routing pieces are done, but there is an interlocking issue between optionally compiled code and mandatory code. Spotted by: kris
This commit is contained in:
parent
26ded85445
commit
30916a2d1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167886
@ -1530,11 +1530,10 @@ ip_savecontrol(inp, mp, ip, m)
|
||||
}
|
||||
|
||||
/*
|
||||
* XXX these routines are called from the upper part of the kernel.
|
||||
* They need to be locked when we remove Giant.
|
||||
*
|
||||
* They could also be moved to ip_mroute.c, since all the RSVP
|
||||
* handling is done there already.
|
||||
* XXXRW: Multicast routing code in ip_mroute.c is generally MPSAFE, but the
|
||||
* ip_rsvp and ip_rsvp_on variables need to be interlocked with rsvp_on
|
||||
* locking. This code remains in ip_input.c as ip_mroute.c is optionally
|
||||
* compiled.
|
||||
*/
|
||||
static int ip_rsvp_on;
|
||||
struct socket *ip_rsvpd;
|
||||
|
Loading…
Reference in New Issue
Block a user