diff options
| author | Michael Büsch <[email protected]> | 2015-02-08 09:14:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-08 21:00:43 +0000 |
| commit | 662f5533c40a97f02949ac81b1643538353c7e59 (patch) | |
| tree | a5ce27e64f3bf2239add0b4a526aab7f85014e1c /net/tipc/node.c | |
| parent | Merge branch 'tcp_ack_loops' (diff) | |
| download | kernel-662f5533c40a97f02949ac81b1643538353c7e59.tar.gz kernel-662f5533c40a97f02949ac81b1643538353c7e59.zip | |
rt6_probe_deferred: Do not depend on struct ordering
rt6_probe allocates a struct __rt6_probe_work and schedules a work handler rt6_probe_deferred.
But rt6_probe_deferred kfree's the struct work_struct instead of struct __rt6_probe_work.
This works, because struct work_struct is the first element of struct __rt6_probe_work.
Change it to kfree struct __rt6_probe_work to not implicitly depend on
struct work_struct being the first element.
This does not affect the generated code.
Signed-off-by: Michael Buesch <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
