Searched hist:"6 da025fa" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/net/ |
H A D | route.h | 6da025fa Sun Oct 28 17:33:23 CDT 2012 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com> Cc: Cong Wang <amwang@redhat.com> Acked-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> 6da025fa Sun Oct 28 17:33:23 CDT 2012 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com> Cc: Cong Wang <amwang@redhat.com> Acked-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|