Revision e459dfeeb64008b2d23bdf600f03b3605dbb8152 authored by Andrey Ryabinin on 21 December 2015, 09:54:45 UTC, committed by David S. Miller on 22 December 2015, 20:57:54 UTC
ip6addrlbl_get() has never worked. If ip6addrlbl_hold() succeeded, ip6addrlbl_get() will exit with '-ESRCH'. If ip6addrlbl_hold() failed, ip6addrlbl_get() will use about to be free ip6addrlbl_entry pointer. Fix this by inverting ip6addrlbl_hold() check. Fixes: 2a8cc6c89039 ("[IPV6] ADDRCONF: Support RFC3484 configurable address selection policy table.") Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Reviewed-by: Cong Wang <cwang@twopensource.com> Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ef9cdd0
File | Mode | Size |
---|---|---|
ib.h | -rw-r--r-- | 2.7 KB |
ib_addr.h | -rw-r--r-- | 9.6 KB |
ib_cache.h | -rw-r--r-- | 6.1 KB |
ib_cm.h | -rw-r--r-- | 18.7 KB |
ib_fmr_pool.h | -rw-r--r-- | 3.4 KB |
ib_mad.h | -rw-r--r-- | 25.6 KB |
ib_marshall.h | -rw-r--r-- | 2.0 KB |
ib_pack.h | -rw-r--r-- | 8.1 KB |
ib_pma.h | -rw-r--r-- | 5.4 KB |
ib_sa.h | -rw-r--r-- | 15.7 KB |
ib_smi.h | -rw-r--r-- | 5.5 KB |
ib_umem.h | -rw-r--r-- | 3.5 KB |
ib_umem_odp.h | -rw-r--r-- | 5.2 KB |
ib_verbs.h | -rw-r--r-- | 87.0 KB |
iw_cm.h | -rw-r--r-- | 8.2 KB |
iw_portmap.h | -rw-r--r-- | 7.5 KB |
opa_port_info.h | -rw-r--r-- | 15.1 KB |
opa_smi.h | -rw-r--r-- | 4.4 KB |
rdma_cm.h | -rw-r--r-- | 12.7 KB |
rdma_cm_ib.h | -rw-r--r-- | 2.1 KB |
rdma_netlink.h | -rw-r--r-- | 2.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...