pktgen: Clean read user supplied flag mess
authorDmitry Safonov <dima@arista.com>
Thu, 18 Jan 2018 18:31:37 +0000 (18:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 20:03:36 +0000 (15:03 -0500)
commit52e12d5daea48c92f0b0354f4cdc127a2c0a3c52
tree16d2e3001ec0d1cc10b490818b945234bfc723d6
parent99c6d3d20d6287d7dd6e65686dba9e696de91f90
pktgen: Clean read user supplied flag mess

Don't use error-prone-brute-force way.

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c