Commit b3ccfbe4 authored by Committed by David S. Miller
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 <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 72 additions and 4 deletions