]> 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)
commitbcf91bdb44d2e6d84ffc5b7ab0400d5ff1c27645
treefd118890fd488cb1118c061c1ae0f7f56c8a67f8
parentc08376ac97cb202ec65320f3d90d5c4c5e2adb0b
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