net: Zero terminate ifr_name in dev_ifname().
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 20:33:24 +0000 (13:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 20:33:24 +0000 (13:33 -0700)
commit63679112c536289826fec61c917621de95ba2ade
tree579ed94180d17e7422a26c39d9787771bf5c8409
parent98de4e0ea47d106846fc0e30ce4e644283fa7fc2
net: Zero terminate ifr_name in dev_ifname().

The ifr.ifr_name is passed around and assumed to be NULL terminated.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_ioctl.c