Thread (8 messages) 8 messages, 3 authors, 2009-08-02

Re: [Resent][PATCH 1/1] inet6: functions shadow global variable

From: David Miller <davem@davemloft.net>
Date: 2009-08-02 19:56:09

From: Gerrit Renker <redacted>
Date: Tue, 28 Jul 2009 21:48:07 +0200
inet6: local functions shadow global pointer

This renames away a variable clash:
 * ipv6_table[] is declared as a static global table;
 * ipv6_sysctl_net_init() uses ipv6_table to refer/destroy dynamic memory;
 * ipv6_sysctl_net_exit() also uses ipv6_table for the same purpose;
 * both the two last functions call kfree() on ipv6_table.

Signed-off-by: Gerrit Renker <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help