commit | e7d8f6cb2f8735693396872f4608bbe305e8baee | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Tue Oct 08 10:49:45 2013 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Tue Oct 08 10:49:45 2013 +0200 |
tree | ec1e047b8f4a584cea14b3b9dc876b7caf3c5851 | |
parent | cd808fc9a6c7cd3a4311d9d2cffc4adbeaef5f6c [diff] |
xfrm: Add refcount handling to queued policies We need to ensure that policies can't go away as long as the hold timer is armed, so take a refcont when we arm the timer and drop one if we delete it. Bug was introduced with git commit a0073fe18 ("xfrm: Add a state resolution packet queue") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>