mctp/test: Update refcount checking in route fragment tests
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 18 Nov 2021 06:57:23 +0000 (14:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2021 12:01:14 +0000 (12:01 +0000)
commitf6ef47e5bdc6f652176e433b02317fc83049f8d7
treecae72195959909ce060801674a21767159632800
parent4cdf85ef2371e851d2a93602b7965fd5758e3ac4
mctp/test: Update refcount checking in route fragment tests

In 99ce45d5e, we moved a route refcount decrement from
mctp_do_fragment_route into the caller. This invalidates the assumption
that the route test makes about refcount behaviour, so the route tests
fail.

This change fixes the test case to suit the new refcount behaviour.

Fixes: 99ce45d5e7db ("mctp: Implement extended addressing")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mctp/test/route-test.c