diff options
-rw-r--r-- | net/ipv4/ipvs/ip_vs_core.c | 3 | ||||
-rw-r--r-- | net/iucv/iucv.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c index bcf6276ba4b2..a7879eafc3b5 100644 --- a/net/ipv4/ipvs/ip_vs_core.c +++ b/net/ipv4/ipvs/ip_vs_core.c | |||
@@ -991,7 +991,8 @@ ip_vs_in(unsigned int hooknum, struct sk_buff *skb, | |||
991 | == sysctl_ip_vs_sync_threshold[0])) || | 991 | == sysctl_ip_vs_sync_threshold[0])) || |
992 | ((cp->protocol == IPPROTO_TCP) && (cp->old_state != cp->state) && | 992 | ((cp->protocol == IPPROTO_TCP) && (cp->old_state != cp->state) && |
993 | ((cp->state == IP_VS_TCP_S_FIN_WAIT) || | 993 | ((cp->state == IP_VS_TCP_S_FIN_WAIT) || |
994 | (cp->state == IP_VS_TCP_S_CLOSE))))) | 994 | (cp->state == IP_VS_TCP_S_CLOSE_WAIT) || |
995 | (cp->state == IP_VS_TCP_S_TIME_WAIT))))) | ||
995 | ip_vs_sync_conn(cp); | 996 | ip_vs_sync_conn(cp); |
996 | cp->old_state = cp->state; | 997 | cp->old_state = cp->state; |
997 | 998 | ||
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index 531a206ce7a6..d8e0635aace0 100644 --- a/net/iucv/iucv.c +++ b/net/iucv/iucv.c | |||
@@ -567,8 +567,11 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self, | |||
567 | return NOTIFY_BAD; | 567 | return NOTIFY_BAD; |
568 | iucv_param[cpu] = kmalloc_node(sizeof(union iucv_param), | 568 | iucv_param[cpu] = kmalloc_node(sizeof(union iucv_param), |
569 | GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); | 569 | GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); |
570 | if (!iucv_param[cpu]) | 570 | if (!iucv_param[cpu]) { |
571 | kfree(iucv_irq_data[cpu]); | ||
572 | iucv_irq_data[cpu] = NULL; | ||
571 | return NOTIFY_BAD; | 573 | return NOTIFY_BAD; |
574 | } | ||
572 | break; | 575 | break; |
573 | case CPU_UP_CANCELED: | 576 | case CPU_UP_CANCELED: |
574 | case CPU_UP_CANCELED_FROZEN: | 577 | case CPU_UP_CANCELED_FROZEN: |