diff options
Diffstat (limited to 'net/ipv4/route.c')
| -rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 8471dd116771..acd69cfe2951 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
| @@ -2620,7 +2620,7 @@ static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) | |||
| 2620 | skb_reset_network_header(skb); | 2620 | skb_reset_network_header(skb); |
| 2621 | 2621 | ||
| 2622 | /* Bugfix: need to give ip_route_input enough of an IP header to not gag. */ | 2622 | /* Bugfix: need to give ip_route_input enough of an IP header to not gag. */ |
| 2623 | ip_hdr(skb)->protocol = IPPROTO_ICMP; | 2623 | ip_hdr(skb)->protocol = IPPROTO_UDP; |
| 2624 | skb_reserve(skb, MAX_HEADER + sizeof(struct iphdr)); | 2624 | skb_reserve(skb, MAX_HEADER + sizeof(struct iphdr)); |
| 2625 | 2625 | ||
| 2626 | src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; | 2626 | src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; |
