af_packet: clear bitmap entries when processing input 88/788/2
authorPeter Lei <peterlei@cisco.com>
Thu, 10 Mar 2016 09:03:36 +0000 (04:03 -0500)
committerGerrit Code Review <gerrit@fd.io>
Fri, 15 Apr 2016 15:04:48 +0000 (15:04 +0000)
commit007622cfd6ffea9ab5a487e2b91f92f4a13b2873
treec628a1c485e33ae6ad1b013e09c5b6b445e108f9
parent51c02a477811444e7ef3091b81100974d68afc63
af_packet: clear bitmap entries when processing input

Need to clear the bitmap entry when processing each input file
descriptor.

This becomes an issue on interface deletion. A crash occurs due
to assertion in a debug image

https://gerrit.fd.io/r/#/c/615/ - removed the code when this was set
again, but the bitmap needs to be cleared

Change-Id: I7cccb9bf8b9b2eb5a7f60ecda7530784a9512116
Signed-off-by: Peter Lei <peterlei@cisco.com>
vnet/vnet/devices/af_packet/node.c