commit | b3ccfbe4098a5542177d0f34e8979f32e7d606e1 | [log] [tgz] |
---|---|---|
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | Fri May 13 02:44:04 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun May 15 17:45:55 2011 -0400 |
tree | 3f0046e3b519ea253db222abcb761af34b8a1718 | |
parent | 43e3692101086add8719c3b8b50b05c9ac5b14e1 [diff] |
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>