projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'fixes-for-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd...
[platform/kernel/linux-rpi.git]
/
net
/
rds
/
send.c
diff --git
a/net/rds/send.c
b/net/rds/send.c
index
985d0b7
..
fe5264b
100644
(file)
--- a/
net/rds/send.c
+++ b/
net/rds/send.c
@@
-665,7
+665,7
@@
static void rds_send_remove_from_sock(struct list_head *messages, int status)
unlock_and_drop:
spin_unlock_irqrestore(&rm->m_rs_lock, flags);
rds_message_put(rm);
- if (was_on_sock)
+ if (was_on_sock
&& rm
)
rds_message_put(rm);
}