icmp.c (d68c51e0b377838dd31b37707813bb62089f399c) | icmp.c (3abd1ade6765e8edcccad6a9e1039cc709e65dde) |
---|---|
1/* 2 * NET3: Implementation of the ICMP protocol layer. 3 * 4 * Alan Cox, <alan@lxorguk.ukuu.org.uk> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 475 unchanged lines hidden (view full) --- 484 fl4->flowi4_uid = sock_net_uid(net, NULL); 485 fl4->flowi4_tos = RT_TOS(tos); 486 fl4->flowi4_proto = IPPROTO_ICMP; 487 fl4->fl4_icmp_type = type; 488 fl4->fl4_icmp_code = code; 489 fl4->flowi4_oif = l3mdev_master_ifindex(skb_dst(skb_in)->dev); 490 491 security_skb_classify_flow(skb_in, flowi4_to_flowi(fl4)); | 1/* 2 * NET3: Implementation of the ICMP protocol layer. 3 * 4 * Alan Cox, <alan@lxorguk.ukuu.org.uk> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 475 unchanged lines hidden (view full) --- 484 fl4->flowi4_uid = sock_net_uid(net, NULL); 485 fl4->flowi4_tos = RT_TOS(tos); 486 fl4->flowi4_proto = IPPROTO_ICMP; 487 fl4->fl4_icmp_type = type; 488 fl4->fl4_icmp_code = code; 489 fl4->flowi4_oif = l3mdev_master_ifindex(skb_dst(skb_in)->dev); 490 491 security_skb_classify_flow(skb_in, flowi4_to_flowi(fl4)); |
492 rt = __ip_route_output_key_hash(net, fl4, skb_in); | 492 rt = ip_route_output_key_hash(net, fl4, skb_in); |
493 if (IS_ERR(rt)) 494 return rt; 495 496 /* No need to clone since we're just using its address. */ 497 rt2 = rt; 498 499 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, 500 flowi4_to_flowi(fl4), NULL, 0); --- 751 unchanged lines hidden --- | 493 if (IS_ERR(rt)) 494 return rt; 495 496 /* No need to clone since we're just using its address. */ 497 rt2 = rt; 498 499 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, 500 flowi4_to_flowi(fl4), NULL, 0); --- 751 unchanged lines hidden --- |