Message ID | 1444382858-6725-3-git-send-email-aschultz@tpip.net |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c index c170d31..de8e110 100644 --- a/net/tipc/udp_media.c +++ b/net/tipc/udp_media.c @@ -181,10 +181,6 @@ static int tipc_udp_send_msg(struct net *net, struct sk_buff *skb, dst->ipv4.s_addr, 0, ttl, 0, src->udp_port, dst->udp_port, false, true); - if (err < 0) { - ip_rt_put(rt); - goto tx_error; - } #if IS_ENABLED(CONFIG_IPV6) } else { struct dst_entry *ndst;