net: drop_monitor: Use kstrdup
authorJoe Perches <joe@perches.com>
Tue, 28 Jan 2020 19:02:50 +0000 (11:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jan 2020 09:03:37 +0000 (10:03 +0100)
commit72d62c4e422ed2380a2acd51747789b48146e4ee
treead831f1b4024150771c72ef7c3a24159c4484301
parentd0208bf4da97f76237300afb83c097de25645de6
net: drop_monitor: Use kstrdup

Convert the equivalent but rather odd uses of kmemdup with
__GFP_ZERO to the more common kstrdup and avoid unnecessary
zeroing of copied over memory.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c