]> git.baikalelectronics.ru Git - kernel.git/commit
net: pktgen: Call destroy_hrtimer_on_stack()
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 May 2016 00:21:06 +0000 (17:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 May 2016 18:44:08 +0000 (11:44 -0700)
commitcc04b80203b311793f5339749e97c31900b27473
treefd118890fd488cb1118c061c1ae0f7f56c8a67f8
parente969e15d07f562db3b6d504afb3030ec054e2b9b
net: pktgen: Call destroy_hrtimer_on_stack()

If CONFIG_DEBUG_OBJECTS_TIMERS=y, hrtimer_init_on_stack() requires
a matching call to destroy_hrtimer_on_stack() to clean up timer
debug objects.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c