net.c: Ignore but log net_write's in invalid states
net.c: Ignore but log net_write's in invalid states

There are a few cases in which they may happen, e.g. calling multiple
net_write()'s in sequence without checking the state in between (a
net_write() can cause an immediate error and change the state). In those
cases the subsequent writes can be safely ignored. Still a good idea to
log such occurences for debugging purposes, though.

Tilka/ncdc,Tilka/ncdc