File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ static void icmp_reply(struct icmp_bxm *icmp_param, struct sk_buff *skb)
427
427
fl4 .flowi4_mark = mark ;
428
428
fl4 .flowi4_tos = RT_TOS (ip_hdr (skb )-> tos );
429
429
fl4 .flowi4_proto = IPPROTO_ICMP ;
430
- fl4 .flowi4_oif = vrf_master_ifindex (skb -> dev ) ? : skb -> dev -> ifindex ;
430
+ fl4 .flowi4_oif = vrf_master_ifindex (skb -> dev );
431
431
security_skb_classify_flow (skb , flowi4_to_flowi (& fl4 ));
432
432
rt = ip_route_output_key (net , & fl4 );
433
433
if (IS_ERR (rt ))
@@ -461,7 +461,7 @@ static struct rtable *icmp_route_lookup(struct net *net,
461
461
fl4 -> flowi4_proto = IPPROTO_ICMP ;
462
462
fl4 -> fl4_icmp_type = type ;
463
463
fl4 -> fl4_icmp_code = code ;
464
- fl4 -> flowi4_oif = vrf_master_ifindex (skb_in -> dev ) ? : skb_in -> dev -> ifindex ;
464
+ fl4 -> flowi4_oif = vrf_master_ifindex (skb_in -> dev );
465
465
466
466
security_skb_classify_flow (skb_in , flowi4_to_flowi (fl4 ));
467
467
rt = __ip_route_output_key (net , fl4 );
You can’t perform that action at this time.
0 commit comments