diff options
| author | Jon Paul Maloy <[email protected]> | 2014-06-09 16:08:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-06-11 22:01:30 +0000 |
| commit | 02c00c2ab0807ec64b480e899d2619e64566a0af (patch) | |
| tree | 5d095614085cc212ed347df4e996fc376f308a90 /drivers/net/xen-netback/interface.c | |
| parent | net: sxgbe: remove duplicate SXGBE_CORE_L34_ADDCTL_REG define (diff) | |
| download | kernel-02c00c2ab0807ec64b480e899d2619e64566a0af.tar.gz kernel-02c00c2ab0807ec64b480e899d2619e64566a0af.zip | |
tipc: fix potential bug in function tipc_backlog_rcv
In commit 4f4482dcd9a0606a30541ff165ddaca64748299b ("tipc: compensate
for double accounting in socket rcv buffer") we access 'truesize' of
a received buffer after it might have been released by the function
filter_rcv().
In this commit we correct this by reading the value of 'truesize' to
the stack before delivering the buffer to filter_rcv().
Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
