]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: restructure IP notification handlers
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Fri, 9 Mar 2018 17:13:00 +0000 (18:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 18:10:05 +0000 (13:10 -0500)
commit5f9b92e4f11e3d2dd9c8ed4e1b7f109eb8d40485
tree6f26706088c62cb31736f82bf3569fdc989dbb8e
parent680b71d3d5500b8658c590d9ef43ca206dd48562
s390/qeth: restructure IP notification handlers

Extract a helper that does the actual work & returns the right NOTIFY_*
responses, and start putting the temporary ipaddr container objects
on the stack rather than kmalloc'ing them. They are small, and this
reduces the confusion of which objects actually get added to qeth's
IP tables.

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