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-- | 9.4 KB |
Makefile | -rw-r--r-- | 1.3 KB |
ath3k.c | -rw-r--r-- | 15.3 KB |
bcm203x.c | -rw-r--r-- | 6.8 KB |
bfusb.c | -rw-r--r-- | 15.7 KB |
bluecard_cs.c | -rw-r--r-- | 20.0 KB |
bpa10x.c | -rw-r--r-- | 9.5 KB |
bt3c_cs.c | -rw-r--r-- | 14.7 KB |
btbcm.c | -rw-r--r-- | 13.0 KB |
btbcm.h | -rw-r--r-- | 2.6 KB |
btintel.c | -rw-r--r-- | 12.3 KB |
btintel.h | -rw-r--r-- | 3.6 KB |
btmrvl_debugfs.c | -rw-r--r-- | 6.5 KB |
btmrvl_drv.h | -rw-r--r-- | 4.8 KB |
btmrvl_main.c | -rw-r--r-- | 17.6 KB |
btmrvl_sdio.c | -rw-r--r-- | 37.7 KB |
btmrvl_sdio.h | -rw-r--r-- | 3.2 KB |
btqca.c | -rw-r--r-- | 9.8 KB |
btqca.h | -rw-r--r-- | 3.0 KB |
btrtl.c | -rw-r--r-- | 10.1 KB |
btrtl.h | -rw-r--r-- | 1.1 KB |
btsdio.c | -rw-r--r-- | 8.1 KB |
btuart_cs.c | -rw-r--r-- | 13.9 KB |
btusb.c | -rw-r--r-- | 82.9 KB |
btwilink.c | -rw-r--r-- | 8.5 KB |
dtl1_cs.c | -rw-r--r-- | 12.4 KB |
hci_ath.c | -rw-r--r-- | 5.6 KB |
hci_bcm.c | -rw-r--r-- | 19.4 KB |
hci_bcsp.c | -rw-r--r-- | 18.3 KB |
hci_h4.c | -rw-r--r-- | 5.6 KB |
hci_h5.c | -rw-r--r-- | 16.1 KB |
hci_intel.c | -rw-r--r-- | 31.8 KB |
hci_ldisc.c | -rw-r--r-- | 18.8 KB |
hci_ll.c | -rw-r--r-- | 11.8 KB |
hci_qca.c | -rw-r--r-- | 23.7 KB |
hci_uart.h | -rw-r--r-- | 4.6 KB |
hci_vhci.c | -rw-r--r-- | 7.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...