summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-05-30 11:57:29 +0200
committerDavid S. Miller <davem@davemloft.net>2008-05-30 11:57:29 +0200
commit3446b9d57edd0b96a89715fef222879e4919a115 (patch)
treeddf3a460069faba251a92bd1e2054b8db43d6c03 /fs/ocfs2
parentnetfilter: nf_conntrack_expect: fix error path unwind in nf_conntrack_expect_... (diff)
downloadlinux-3446b9d57edd0b96a89715fef222879e4919a115.tar.xz
linux-3446b9d57edd0b96a89715fef222879e4919a115.zip
llc: Fix double accounting of received packets
llc_sap_rcv was being preceded by skb_set_owner_r, then calling llc_state_process that calls sock_queue_rcv_skb, that in turn calls skb_set_owner_r again making the space allowed to be used by the socket to be leaked, making the socket to get stuck. Fix it by setting skb->sk at llc_sap_rcv and leave the accounting to be done only at sock_queue_rcv_skb. Reported-by: Dmitry Petukhov <dmgenp@gmail.com> Tested-by: Dmitry Petukhov <dmgenp@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions