]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: clean up string ops in qeth_l3_parse_ipatoe()
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 23 Sep 2020 08:36:54 +0000 (10:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2020 19:07:54 +0000 (12:07 -0700)
commit57b674c7d46ec48e2d9ca99ccce949f2eeb80e3a
tree975d79c4ee96be82243827c3bc20bf2a39713a46
parentb446d4e1d1885904b84ab196387072a281f1625d
s390/qeth: clean up string ops in qeth_l3_parse_ipatoe()

Indicate the max number of to-be-parsed characters, and avoid copying
the address sub-string.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_sys.c