summaryrefslogtreecommitdiffstats
path: root/net/caif/cfdgml.c
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>2011-05-13 04:44:04 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-15 23:45:55 +0200
commitb3ccfbe4098a5542177d0f34e8979f32e7d606e1 (patch)
tree3f0046e3b519ea253db222abcb761af34b8a1718 /net/caif/cfdgml.c
parentcaif: Move refcount from service layer to sock and dev. (diff)
downloadlinux-b3ccfbe4098a5542177d0f34e8979f32e7d606e1.tar.xz
linux-b3ccfbe4098a5542177d0f34e8979f32e7d606e1.zip
caif: Protected in-flight packets using dev or sock refcont.
CAIF Socket Layer and ip-interface registers reference counters in CAIF service layer. The functions sock_hold, sock_put and dev_hold, dev_put are used by CAIF Stack to protect from freeing memory while packets are in-flight. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfdgml.c')
0 files changed, 0 insertions, 0 deletions