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 |
---|---|---|
buffer_sync.c | -rw-r--r-- | 13.4 KB |
buffer_sync.h | -rw-r--r-- | 432 bytes |
cpu_buffer.c | -rw-r--r-- | 10.6 KB |
cpu_buffer.h | -rw-r--r-- | 2.8 KB |
event_buffer.c | -rw-r--r-- | 4.5 KB |
event_buffer.h | -rw-r--r-- | 860 bytes |
nmi_timer_int.c | -rw-r--r-- | 3.5 KB |
oprof.c | -rw-r--r-- | 5.0 KB |
oprof.h | -rw-r--r-- | 1.1 KB |
oprofile_files.c | -rw-r--r-- | 4.6 KB |
oprofile_perf.c | -rw-r--r-- | 7.1 KB |
oprofile_stats.c | -rw-r--r-- | 2.2 KB |
oprofile_stats.h | -rw-r--r-- | 650 bytes |
oprofilefs.c | -rw-r--r-- | 6.5 KB |
timer_int.c | -rw-r--r-- | 2.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...