aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
Diffstat (limited to 'net/iucv')
-rw-r--r--net/iucv/af_iucv.c6
-rw-r--r--net/iucv/iucv.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index acc94214bde6..e84c924a81ee 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -181,7 +181,7 @@ static void iucv_sock_close(struct sock *sk)
181 default: 181 default:
182 sock_set_flag(sk, SOCK_ZAPPED); 182 sock_set_flag(sk, SOCK_ZAPPED);
183 break; 183 break;
184 }; 184 }
185 185
186 release_sock(sk); 186 release_sock(sk);
187 iucv_sock_kill(sk); 187 iucv_sock_kill(sk);
@@ -953,8 +953,8 @@ static void iucv_callback_rx(struct iucv_path *path, struct iucv_message *msg)
953 return; 953 return;
954 } 954 }
955 955
956 skb->h.raw = skb->data; 956 skb_reset_transport_header(skb);
957 skb->nh.raw = skb->data; 957 skb_reset_network_header(skb);
958 skb->len = msg->length; 958 skb->len = msg->length;
959 } 959 }
960 960
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 1b10d576f222..60f293842a39 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -519,7 +519,6 @@ static void iucv_disable(void)
519 kfree(iucv_path_table); 519 kfree(iucv_path_table);
520} 520}
521 521
522#ifdef CONFIG_HOTPLUG_CPU
523static int __cpuinit iucv_cpu_notify(struct notifier_block *self, 522static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
524 unsigned long action, void *hcpu) 523 unsigned long action, void *hcpu)
525{ 524{
@@ -565,7 +564,6 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
565static struct notifier_block iucv_cpu_notifier = { 564static struct notifier_block iucv_cpu_notifier = {
566 .notifier_call = iucv_cpu_notify, 565 .notifier_call = iucv_cpu_notify,
567}; 566};
568#endif
569 567
570/** 568/**
571 * iucv_sever_pathid 569 * iucv_sever_pathid