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 |
---|---|---|
ams | ||
Kconfig | -rw-r--r-- | 10.1 KB |
Makefile | -rw-r--r-- | 2.3 KB |
adb-iop.c | -rw-r--r-- | 6.2 KB |
adb.c | -rw-r--r-- | 20.1 KB |
adbhid.c | -rw-r--r-- | 34.8 KB |
ans-lcd.c | -rw-r--r-- | 4.0 KB |
ans-lcd.h | -rw-r--r-- | 206 bytes |
apm_emu.c | -rw-r--r-- | 3.1 KB |
mac_hid.c | -rw-r--r-- | 6.1 KB |
macio-adb.c | -rw-r--r-- | 6.4 KB |
macio_asic.c | -rw-r--r-- | 20.3 KB |
macio_sysfs.c | -rw-r--r-- | 1.5 KB |
mediabay.c | -rw-r--r-- | 18.9 KB |
rack-meter.c | -rw-r--r-- | 15.5 KB |
smu.c | -rw-r--r-- | 30.3 KB |
therm_adt746x.c | -rw-r--r-- | 16.3 KB |
therm_windtunnel.c | -rw-r--r-- | 12.0 KB |
via-cuda.c | -rw-r--r-- | 15.8 KB |
via-macii.c | -rw-r--r-- | 14.0 KB |
via-maciisi.c | -rw-r--r-- | 15.4 KB |
via-pmu-backlight.c | -rw-r--r-- | 4.4 KB |
via-pmu-event.c | -rw-r--r-- | 2.1 KB |
via-pmu-event.h | -rw-r--r-- | 177 bytes |
via-pmu-led.c | -rw-r--r-- | 3.1 KB |
via-pmu.c | -rw-r--r-- | 61.8 KB |
via-pmu68k.c | -rw-r--r-- | 19.4 KB |
windfarm.h | -rw-r--r-- | 4.1 KB |
windfarm_ad7417_sensor.c | -rw-r--r-- | 7.6 KB |
windfarm_core.c | -rw-r--r-- | 10.2 KB |
windfarm_cpufreq_clamp.c | -rw-r--r-- | 2.1 KB |
windfarm_fcu_controls.c | -rw-r--r-- | 14.0 KB |
windfarm_lm75_sensor.c | -rw-r--r-- | 4.0 KB |
windfarm_lm87_sensor.c | -rw-r--r-- | 4.0 KB |
windfarm_max6690_sensor.c | -rw-r--r-- | 3.1 KB |
windfarm_mpu.h | -rw-r--r-- | 3.7 KB |
windfarm_pid.c | -rw-r--r-- | 3.7 KB |
windfarm_pid.h | -rw-r--r-- | 2.7 KB |
windfarm_pm112.c | -rw-r--r-- | 18.0 KB |
windfarm_pm121.c | -rw-r--r-- | 25.0 KB |
windfarm_pm72.c | -rw-r--r-- | 20.5 KB |
windfarm_pm81.c | -rw-r--r-- | 21.2 KB |
windfarm_pm91.c | -rw-r--r-- | 18.0 KB |
windfarm_rm31.c | -rw-r--r-- | 17.6 KB |
windfarm_smu_controls.c | -rw-r--r-- | 8.0 KB |
windfarm_smu_sat.c | -rw-r--r-- | 8.2 KB |
windfarm_smu_sensors.c | -rw-r--r-- | 11.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...