--- - branch: MAIN date: Thu May 15 07:35:38 UTC 2014 files: - new: '1.198' old: '1.197' path: src/sys/net/if_ethersubr.c pathrev: src/sys/net/if_ethersubr.c@1.198 type: modified id: 20140515T073538Z.16f5643b00c4c2140bbb31fcbf594bf0718606bd log: |2 Usually schednetisr() is called after enqueueing a packet with IF_ENQUEUE(). In some functions, they do it in reverse order. It's not a bug because the pair is protected with splnet()/splx(s). It's not good for readability and someone might mistake when modifing a code. Yes, I'm one of the person :-( Save a NETISR_* value in a variable and call schednetisr() after enqueue a packet for readability and future modification. module: src subject: 'CVS commit: src/sys/net' unixtime: '1400139338' user: msaitoh