inet: Handle IP fragments in netisr0
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 26 Jun 2014 12:13:41 +0000 (20:13 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 26 Jun 2014 12:17:47 +0000 (20:17 +0800)
commite4a6f4bbad1970bd9e9365e80b3273ae13debf64
treeb53257ae1c2cbe3cce5cc293cf060cacd7cd52ea
parenta6a7c1402c3cacb1bfb20ea8bef91c7882704249
inet: Handle IP fragments in netisr0

For packet whose hash is provided by hardware, the processing netisr
may not be netisr0.  Add a IP fragments check at the beginning of
ip_input(): if the current processing netisr is not netisr0 and the
packet is an IP fragment, then redispatch it to netisr0.

Discussed-with: dillon@
sys/netinet/ip_input.c