mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Since j1939_sk_bind() and j1939_sk_release() call j1939_local_ecu_put()
when J1939_SOCK_BOUND was already set, but the error handling path for
j1939_sk_bind() will not set J1939_SOCK_BOUND when j1939_local_ecu_get()
fails, j1939_local_ecu_get() needs to undo priv->ents[sa].nusers++ when
j1939_local_ecu_get() returns an error.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| address-claim.c | ||
| bus.c | ||
| j1939-priv.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| socket.c | ||
| transport.c | ||