diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2011-05-13 04:44:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-15 23:45:55 +0200 |
commit | b3ccfbe4098a5542177d0f34e8979f32e7d606e1 (patch) | |
tree | 3f0046e3b519ea253db222abcb761af34b8a1718 /net/caif/cfdgml.c | |
parent | caif: Move refcount from service layer to sock and dev. (diff) | |
download | linux-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