]> 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)
commit535f1b3d482fe0694eef37dbbee7df274b683fec
tree6f26706088c62cb31736f82bf3569fdc989dbb8e
parentd310797be23db7575bee48becce3cbbb47c84dd9
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