Skip to content

Commit

Permalink
ipip: ioctl: Remove superfluous IP-TTL handling.
Browse files Browse the repository at this point in the history
IP-TTL case is already handled in ip_tunnel_ioctl() API.

Signed-off-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Pravin B Shelar authored and davem330 committed Dec 18, 2015
1 parent d79f16c commit 6d3c348
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv4/ipip.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,6 @@ ipip_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)

p.i_key = p.o_key = 0;
p.i_flags = p.o_flags = 0;
if (p.iph.ttl)
p.iph.frag_off |= htons(IP_DF);

err = ip_tunnel_ioctl(dev, &p, cmd);
if (err)
return err;
Expand Down

0 comments on commit 6d3c348

Please sign in to comment.