mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
net: Remove checks for dst_ops->redirect being NULL.
No longer necessary. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b587ee3ba2
commit
1ed5c48f23
7 changed files with 8 additions and 11 deletions
|
@ -431,7 +431,7 @@ void sctp_icmp_redirect(struct sock *sk, struct sctp_transport *t,
|
|||
if (!t)
|
||||
return;
|
||||
dst = sctp_transport_dst_check(t);
|
||||
if (dst && dst->ops->redirect)
|
||||
if (dst)
|
||||
dst->ops->redirect(dst, skb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue