[Devel] [PATCH rh7] Revert "ms/ipv4: dst_entry leak in ip_send_unicast_reply()"

Vladimir Davydov vdavydov at virtuozzo.com
Mon Dec 21 07:30:35 PST 2015


This reverts commit d3694f250213c27ef7af164f180a457e640bb053.

This one has already been backport by RH team. Drop the leftovers.

Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
---
 net/ipv4/ip_output.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 95b53079e84e..8b0b9e44f256 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1515,8 +1515,6 @@ void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
 	struct rtable *rt = skb_rtable(skb);
 	struct net *net = sock_net(sk);
 	struct sk_buff *nskb;
-	struct sock *sk;
-	struct inet_sock *inet;
 	int err;
 
 	if (__ip_options_echo(&replyopts.opt.opt, skb, sopt))
-- 
2.1.4



More information about the Devel mailing list