nflog: only increment packets_nobufs when recv() returns an error
Errno should only be valid when recv() returns a `-1`, indicating an
error.
I believe the intended behavior here is for packets_nobufs to
be a counter that reports back how many times recv() returns
an ENOBUFS during a packet capture. Because of the existing logic
however, packets_nobufs begins incrementing for every recv() call
once the first ENOBUFS error is seen, since errno is not reset when
there are no errors returned from recv().
Before (counter deviates from strace):
# tcpdump output
38069 packets captured
38069 packets received by filter
38061 packets dropped by kernel