Loading net/core/dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -2772,7 +2772,7 @@ out_null: struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev) { struct sk_buff *next, *head = NULL, *tail; struct sk_buff *next, *head = NULL, *tail = NULL; for (; skb != NULL; skb = next) { next = skb->next; Loading net/ipv4/tcp.c +5 −4 Original line number Diff line number Diff line Loading @@ -2740,8 +2740,9 @@ void tcp_get_info(const struct sock *sk, struct tcp_info *info) */ if (NULL != sk->sk_socket) { struct file *filep = sk->sk_socket->file; if (NULL != filep) info->tcpi_count = atomic_read(&filep->f_count); if (filep) info->tcpi_count = file_count(filep); } } EXPORT_SYMBOL_GPL(tcp_get_info); Loading Loading @@ -3190,7 +3191,7 @@ int tcp_nuke_addr(struct net *net, struct sockaddr *addr) int family = addr->sa_family; unsigned int bucket; struct in_addr *in; struct in_addr *in = NULL; #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) struct in6_addr *in6 = NULL; #endif Loading Loading @@ -3227,7 +3228,7 @@ restart: if (s4 == LOOPBACK4_IPV6) continue; if (in->s_addr != s4 && if (in && in->s_addr != s4 && !(in->s_addr == INADDR_ANY && !tcp_is_local(net, s4))) continue; Loading Loading
net/core/dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -2772,7 +2772,7 @@ out_null: struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev) { struct sk_buff *next, *head = NULL, *tail; struct sk_buff *next, *head = NULL, *tail = NULL; for (; skb != NULL; skb = next) { next = skb->next; Loading
net/ipv4/tcp.c +5 −4 Original line number Diff line number Diff line Loading @@ -2740,8 +2740,9 @@ void tcp_get_info(const struct sock *sk, struct tcp_info *info) */ if (NULL != sk->sk_socket) { struct file *filep = sk->sk_socket->file; if (NULL != filep) info->tcpi_count = atomic_read(&filep->f_count); if (filep) info->tcpi_count = file_count(filep); } } EXPORT_SYMBOL_GPL(tcp_get_info); Loading Loading @@ -3190,7 +3191,7 @@ int tcp_nuke_addr(struct net *net, struct sockaddr *addr) int family = addr->sa_family; unsigned int bucket; struct in_addr *in; struct in_addr *in = NULL; #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) struct in6_addr *in6 = NULL; #endif Loading Loading @@ -3227,7 +3228,7 @@ restart: if (s4 == LOOPBACK4_IPV6) continue; if (in->s_addr != s4 && if (in && in->s_addr != s4 && !(in->s_addr == INADDR_ANY && !tcp_is_local(net, s4))) continue; Loading