summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/kroute.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2012-09-18 08:16:34 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2012-09-18 08:16:34 +0000
commitdd55ef6ccbdca47c30e6113568af799083af3ec1 (patch)
tree53aca334876b58c316af0bcaf2b795df3b2e6b64 /usr.sbin/snmpd/kroute.c
parentb259c04c18573abbb28e8dcad96a5972e95bfff0 (diff)
Wrap rtable_add() and rtable_l2set() calls inside ifioctl() inside softnet,
as functions that modify routing information shouldn't be interruptable by network traffic. Also make sure that both of those functions assert that they are called at softnet. I'm reasonably sure that there shouldn't be any, but if there is any codepath that was missed, we're going to be here for another 4 days to deal with any fallout. While here, move the multitude of "int s" declarations inside ifioctl to the beginning of the function. okay claudio@
Diffstat (limited to 'usr.sbin/snmpd/kroute.c')
0 files changed, 0 insertions, 0 deletions