Re: [PATCH][NETNS] release net when pneigh_lookup fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-10-30 at 14:06 +0100, Daniel Lezcano wrote:
> 
> Index: linux-2.6-netns/net/core/neighbour.c
> ===================================================================
> --- linux-2.6-netns.orig/net/core/neighbour.c
> +++ linux-2.6-netns/net/core/neighbour.c
> @@ -497,6 +497,7 @@ struct pneigh_entry * pneigh_lookup(stru
>          if (tbl->pconstructor && tbl->pconstructor(n)) {
>                  if (dev)
>                          dev_put(dev);
> +               release_net(n->net);
>                  kfree(n);
>                  n = NULL;
>                  goto out;
> _______________________________________________ 

Looks like there are some tabs vs. spaces issues in there.  You should
probably just make your line match the ones around it.

-- Dave

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux