[PATCH net-next 5/9] net: Move martian_destination to helper

2015-09-23 Thread David Ahern
Move stat and logging for martian_destination error into helper function similar to ip_handle_martian_source. Code move only; no functional change. Signed-off-by: David Ahern --- net/ipv4/route.c | 24 +++- 1 file changed, 15 insertions(+), 9

[PATCH net-next 5/9] net: Move martian_destination to helper

2015-09-22 Thread David Ahern
Move stat and logging for martian_destination error into helper function similar to ip_handle_martian_source. Code move only; no functional change. Signed-off-by: David Ahern --- net/ipv4/route.c | 24 +++- 1 file changed, 15 insertions(+), 9