Re: [PATCH v2 4/5] ipvlan: protect addresses with internal spinlock

2015-07-10 Thread Konstantin Khlebnikov
On 08.07.2015 07:05, Mahesh Bandewar wrote: On Fri, Jul 3, 2015 at 5:58 AM, Konstantin Khlebnikov khlebni...@yandex-team.ru wrote: Inet6addr notifier is atomic and runs in bh context without RTNL when ipv6 receives router advertisement packet and performs autoconfiguration. This patch adds

Re: [PATCH v2 4/5] ipvlan: protect addresses with internal spinlock

2015-07-07 Thread Mahesh Bandewar
On Fri, Jul 3, 2015 at 5:58 AM, Konstantin Khlebnikov khlebni...@yandex-team.ru wrote: Inet6addr notifier is atomic and runs in bh context without RTNL when ipv6 receives router advertisement packet and performs autoconfiguration. This patch adds ipvl_port-addr_lock and helpers:

[PATCH v2 4/5] ipvlan: protect addresses with internal spinlock

2015-07-03 Thread Konstantin Khlebnikov
Inet6addr notifier is atomic and runs in bh context without RTNL when ipv6 receives router advertisement packet and performs autoconfiguration. This patch adds ipvl_port-addr_lock and helpers: ipvlan_addr_lock_bh, ipvlan_addr_unlock_bh for protecting ipvlan addresses and hash table.