Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: iwlwifi: Fix built-in compilation of iwlcore net: Unexport move_addr_to_{kernel,user} rt2x00: Select LEDS_CLASS. iwlwifi: Select LEDS_CLASS. leds: Do not guard NEW_LEDS with HAS_IOMEM [IPSEC]: Fix catch-22 with algorithm IDs above 31 time: Export set_normalized_timespec. tcp: Make use of before macro in tcp_input.c hamradio: Remove unneeded and deprecated cli()/sti() calls in dmascc.c [NETNS]: Remove empty ->init callback. [DCCP]: Convert do_gettimeofday() to getnstimeofday(). [NETNS]: Don't initialize err variable twice. [NETNS]: The ip6_fib_timer can work with garbage on net namespace stop. [IPV4]: Convert do_gettimeofday() to getnstimeofday(). [IPV4]: Make icmp_sk_init() static. [IPV6]: Make struct ip6_prohibit_entry_template static. tcp: Trivial fix to correct function name in a comment in net/ipv4/tcp.c [NET]: Expose netdevice dev_id through sysfs skbuff: fix missing kernel-doc notation [ROSE]: Fix soft lockup wrt. rose_node_list_lock
This commit is contained in:
@@ -4338,12 +4338,6 @@ int unregister_inet6addr_notifier(struct notifier_block *nb)
|
||||
|
||||
EXPORT_SYMBOL(unregister_inet6addr_notifier);
|
||||
|
||||
|
||||
static int addrconf_net_init(struct net *net)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void addrconf_net_exit(struct net *net)
|
||||
{
|
||||
struct net_device *dev;
|
||||
@@ -4360,7 +4354,6 @@ static void addrconf_net_exit(struct net *net)
|
||||
}
|
||||
|
||||
static struct pernet_operations addrconf_net_ops = {
|
||||
.init = addrconf_net_init,
|
||||
.exit = addrconf_net_exit,
|
||||
};
|
||||
|
||||
|
@@ -1543,7 +1543,7 @@ out_timer:
|
||||
static void fib6_net_exit(struct net *net)
|
||||
{
|
||||
rt6_ifdown(net, NULL);
|
||||
del_timer(net->ipv6.ip6_fib_timer);
|
||||
del_timer_sync(net->ipv6.ip6_fib_timer);
|
||||
kfree(net->ipv6.ip6_fib_timer);
|
||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||
kfree(net->ipv6.fib6_local_tbl);
|
||||
|
@@ -150,7 +150,7 @@ static struct rt6_info ip6_null_entry_template = {
|
||||
static int ip6_pkt_prohibit(struct sk_buff *skb);
|
||||
static int ip6_pkt_prohibit_out(struct sk_buff *skb);
|
||||
|
||||
struct rt6_info ip6_prohibit_entry_template = {
|
||||
static struct rt6_info ip6_prohibit_entry_template = {
|
||||
.u = {
|
||||
.dst = {
|
||||
.__refcnt = ATOMIC_INIT(1),
|
||||
@@ -2614,9 +2614,8 @@ struct ctl_table *ipv6_route_sysctl_init(struct net *net)
|
||||
|
||||
static int ip6_route_net_init(struct net *net)
|
||||
{
|
||||
int ret = 0;
|
||||
int ret = -ENOMEM;
|
||||
|
||||
ret = -ENOMEM;
|
||||
net->ipv6.ip6_dst_ops = kmemdup(&ip6_dst_ops_template,
|
||||
sizeof(*net->ipv6.ip6_dst_ops),
|
||||
GFP_KERNEL);
|
||||
|
Reference in New Issue
Block a user