projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fd85a
)
rxrpc: Free packets discarded in data_ready
author
David Howells
<dhowells@redhat.com>
Tue, 9 Aug 2016 15:58:42 +0000
(16:58 +0100)
committer
David Howells
<dhowells@redhat.com>
Tue, 9 Aug 2016 16:13:56 +0000
(17:13 +0100)
Under certain conditions, the data_ready handler will discard a packet.
These need to be freed.
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rxrpc/input.c
b/net/rxrpc/input.c
index 789719031462bfd49841f4cdc573dd27f767ce55..70bb77818deab9393b79a6499dcf0f42ecbd29e6 100644
(file)
--- a/
net/rxrpc/input.c
+++ b/
net/rxrpc/input.c
@@
-744,6
+744,8
@@
cant_route_call:
if (sp->hdr.type != RXRPC_PACKET_TYPE_ABORT) {
_debug("reject type %d",sp->hdr.type);
rxrpc_reject_packet(local, skb);
+ } else {
+ rxrpc_free_skb(skb);
}
_leave(" [no call]");
return;