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 |
---|---|---|
Kconfig | -rw-r--r-- | 2.4 KB |
Makefile | -rw-r--r-- | 343 bytes |
config.c | -rw-r--r-- | 300 bytes |
virtio.c | -rw-r--r-- | 10.3 KB |
virtio_balloon.c | -rw-r--r-- | 17.2 KB |
virtio_input.c | -rw-r--r-- | 10.1 KB |
virtio_mmio.c | -rw-r--r-- | 18.9 KB |
virtio_pci_common.c | -rw-r--r-- | 14.5 KB |
virtio_pci_common.h | -rw-r--r-- | 4.7 KB |
virtio_pci_legacy.c | -rw-r--r-- | 7.5 KB |
virtio_pci_modern.c | -rw-r--r-- | 20.8 KB |
virtio_ring.c | -rw-r--r-- | 23.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...