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 |
---|---|---|
BUGS-parport | -rw-r--r-- | 319 bytes |
Kconfig | -rw-r--r-- | 5.4 KB |
Makefile | -rw-r--r-- | 693 bytes |
TODO-parport | -rw-r--r-- | 594 bytes |
daisy.c | -rw-r--r-- | 12.3 KB |
ieee1284.c | -rw-r--r-- | 22.6 KB |
ieee1284_ops.c | -rw-r--r-- | 23.2 KB |
multiface.h | -rw-r--r-- | 387 bytes |
parport_amiga.c | -rw-r--r-- | 6.3 KB |
parport_atari.c | -rw-r--r-- | 5.4 KB |
parport_ax88796.c | -rw-r--r-- | 9.3 KB |
parport_cs.c | -rw-r--r-- | 5.5 KB |
parport_gsc.c | -rw-r--r-- | 11.0 KB |
parport_gsc.h | -rw-r--r-- | 6.1 KB |
parport_ip32.c | -rw-r--r-- | 67.0 KB |
parport_mfc3.c | -rw-r--r-- | 9.9 KB |
parport_pc.c | -rw-r--r-- | 85.4 KB |
parport_serial.c | -rw-r--r-- | 20.1 KB |
parport_sunbpp.c | -rw-r--r-- | 9.3 KB |
probe.c | -rw-r--r-- | 7.4 KB |
procfs.c | -rw-r--r-- | 12.6 KB |
share.c | -rw-r--r-- | 37.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...