diff options
| author | Eric Dumazet <[email protected]> | 2012-10-28 22:33:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-03 14:59:04 -0400 |
| commit | 6da025fa23bb10c82f80de319c837ed2b02306e4 (patch) | |
| tree | 64992521a7fa74c04eff45fffc88dd56dfb10ba7 /tools/perf/scripts/python | |
| parent | b26ddd813031666293c95e84c997eb8b1f97bd38 (diff) | |
ipv4: avoid a test in ip_rt_put()
We can save a test in ip_rt_put(), considering dst_release() accepts
a NULL parameter, and dst is first element in rtable.
Add a BUILD_BUG_ON() to catch any change that could break this
assertion.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Cong Wang <[email protected]>
Acked-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions