Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200381

Re: [PATCH] ipv6:Fix concurrent access issue in the function inet6_rtm_deladdr

From Cong Wang <cwang@twopensource.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ipv6:Fix concurrent access issue in the function inet6_rtm_deladdr
Date 2015-08-05 06:00 +0200
Message-ID <pTY1Y-6nT-11@gated-at.bofh.it> (permalink)
References <pTWMy-4FP-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 4, 2015 at 7:39 PM, Nicholas Krause <uboot477@gmail.com> wrote:
> From: Nicholas Krause <xerofoify@gmail.com>
>
> This fixes the issue with conncurrent access when calling the function
> inte6_addr_del due to this function using non locked wrapper versions
> of certain functions by locking the routing mutex before and after this
> call with rtnl_lock/unlock. After the unlocking just return the error
> code as normal to signal success or failure to the caller of the function
> inet_6_rtm_addr.
>

Huh? Isn't inet6_rtm_deladdr() already called with rtnl lock?

What bug are you trying to fix?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ipv6:Fix concurrent access issue in the function inet6_rtm_deladdr Nicholas Krause <uboot477@gmail.com> - 2015-08-05 04:40 +0200
  Re: [PATCH] ipv6:Fix concurrent access issue in the function inet6_rtm_deladdr Cong Wang <cwang@twopensource.com> - 2015-08-05 06:00 +0200

csiph-web