Loading net/dccp/ipv4.c +1 −1 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ static void dccp_do_redirect(struct sk_buff *skb, struct sock *sk) { struct dst_entry *dst = __sk_dst_check(sk, 0); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading net/dccp/ipv6.c +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, if (type == NDISC_REDIRECT) { struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading net/ipv4/tcp_ipv4.c +1 −1 Original line number Diff line number Diff line Loading @@ -325,7 +325,7 @@ static void do_redirect(struct sk_buff *skb, struct sock *sk) { struct dst_entry *dst = __sk_dst_check(sk, 0); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading net/ipv4/xfrm4_policy.c +1 −2 Original line number Diff line number Diff line Loading @@ -207,7 +207,6 @@ static void xfrm4_redirect(struct dst_entry *dst, struct sk_buff *skb) struct xfrm_dst *xdst = (struct xfrm_dst *)dst; struct dst_entry *path = xdst->route; if (path->ops->redirect) path->ops->redirect(path, skb); } Loading net/ipv6/ip6_tunnel.c +2 −4 Original line number Diff line number Diff line Loading @@ -611,10 +611,8 @@ ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, skb_dst(skb2)->ops->update_pmtu(skb_dst(skb2), rel_info); } if (rel_type == ICMP_REDIRECT) { if (skb_dst(skb2)->ops->redirect) if (rel_type == ICMP_REDIRECT) skb_dst(skb2)->ops->redirect(skb_dst(skb2), skb2); } icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); Loading Loading
net/dccp/ipv4.c +1 −1 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ static void dccp_do_redirect(struct sk_buff *skb, struct sock *sk) { struct dst_entry *dst = __sk_dst_check(sk, 0); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading
net/dccp/ipv6.c +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, if (type == NDISC_REDIRECT) { struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading
net/ipv4/tcp_ipv4.c +1 −1 Original line number Diff line number Diff line Loading @@ -325,7 +325,7 @@ static void do_redirect(struct sk_buff *skb, struct sock *sk) { struct dst_entry *dst = __sk_dst_check(sk, 0); if (dst && dst->ops->redirect) if (dst) dst->ops->redirect(dst, skb); } Loading
net/ipv4/xfrm4_policy.c +1 −2 Original line number Diff line number Diff line Loading @@ -207,7 +207,6 @@ static void xfrm4_redirect(struct dst_entry *dst, struct sk_buff *skb) struct xfrm_dst *xdst = (struct xfrm_dst *)dst; struct dst_entry *path = xdst->route; if (path->ops->redirect) path->ops->redirect(path, skb); } Loading
net/ipv6/ip6_tunnel.c +2 −4 Original line number Diff line number Diff line Loading @@ -611,10 +611,8 @@ ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, skb_dst(skb2)->ops->update_pmtu(skb_dst(skb2), rel_info); } if (rel_type == ICMP_REDIRECT) { if (skb_dst(skb2)->ops->redirect) if (rel_type == ICMP_REDIRECT) skb_dst(skb2)->ops->redirect(skb_dst(skb2), skb2); } icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); Loading