Home
last modified time | relevance | path

Searched hist:"607 ea7cda6315be0ad8be2f98bc9de6f2d656ae6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dipv6.hdiff 607ea7cda6315be0ad8be2f98bc9de6f2d656ae6 Mon Apr 18 06:41:10 CDT 2016 Konstantin Khlebnikov <khlebnikov@yandex-team.ru> net/ipv6/addrconf: simplify sysctl registration

Struct ctl_table_header holds pointer to sysctl table which could be used
for freeing it after unregistration. IPv4 sysctls already use that.
Remove redundant NULL assignment: ndev allocated using kzalloc.

This also saves some bytes: sysctl table could be shorter than
DEVCONF_MAX+1 if some options are disable in config.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ipv6/
H A Daddrconf.cdiff 607ea7cda6315be0ad8be2f98bc9de6f2d656ae6 Mon Apr 18 06:41:10 CDT 2016 Konstantin Khlebnikov <khlebnikov@yandex-team.ru> net/ipv6/addrconf: simplify sysctl registration

Struct ctl_table_header holds pointer to sysctl table which could be used
for freeing it after unregistration. IPv4 sysctls already use that.
Remove redundant NULL assignment: ndev allocated using kzalloc.

This also saves some bytes: sysctl table could be shorter than
DEVCONF_MAX+1 if some options are disable in config.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>