Module Name: src Committed By: knakahara Date: Mon Jul 4 04:14:47 UTC 2016
Modified Files: src/sys/net: if_gif.c src/sys/netinet: in_gif.c src/sys/netinet6: in6_gif.c Log Message: let gif(4) promise softint(9) contract (1/2) : gif(4) side To prevent calling softint_schedule() after called softint_disestablish(), the following modifications are added + ioctl (writing configuration) side - off IFF_RUNNING flag before changing configuration - wait softint handler completion before changing configuration + packet processing (reading configuraiotn) side - if IFF_RUNNING flag is on, do nothing + in whole - add gif_list_lock_{enter,exit} to prevent the same configuration is set to other gif(4) interfaces To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/net/if_gif.c cvs rdiff -u -r1.76 -r1.77 src/sys/netinet/in_gif.c cvs rdiff -u -r1.75 -r1.76 src/sys/netinet6/in6_gif.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.