]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix misplaced traceline
authorDavid Howells <dhowells@redhat.com>
Mon, 2 Sep 2019 10:34:08 +0000 (11:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2019 22:24:58 +0000 (00:24 +0200)
commit08980bd2329848418fa176310801cf184a7de535
treed35603e9035130dd1c5b2a61fd112d0cf0e0b1b8
parent01c77e7addeb6b9e2afbcbc0dd8bab94276529f4
rxrpc: Fix misplaced traceline

There's a misplaced traceline in rxrpc_input_packet() which is looking at a
packet that just got released rather than the replacement packet.

Fix this by moving the traceline after the assignment that moves the new
packet pointer to the actual packet pointer.

Fixes: 9f1a735c15df ("rxrpc: Use skb_unshare() rather than skb_cow_data()")
Reported-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/input.c