Hello community,

here is the log from the commit of package iscsitarget for openSUSE:Factory 
checked in at 2013-01-24 10:44:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iscsitarget (Old)
 and      /work/SRC/openSUSE:Factory/.iscsitarget.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iscsitarget", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/iscsitarget/iscsitarget.changes  2012-11-06 
16:07:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.iscsitarget.new/iscsitarget.changes     
2013-01-24 10:44:21.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Jan 23 16:15:45 UTC 2013 - [email protected]
+
+- fix build for kernel 3.7: netlink_kernel_create() api changed and
+  netlink_skb_parms.pid got renamed to .portid
+
+-------------------------------------------------------------------

New:
----
  iscsitarget-kernel-3.7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ iscsitarget.spec ++++++
--- /var/tmp/diff_new_pack.iMAJeT/_old  2013-01-24 10:44:22.000000000 +0100
+++ /var/tmp/diff_new_pack.iMAJeT/_new  2013-01-24 10:44:22.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package iscsitarget
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Source4:        services
 Patch1:         iscsitarget-kernel-3.5.patch
 Patch2:         iscsitarget-kernel-3.6.0.patch
+Patch3:         iscsitarget-kernel-3.7.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %suse_kernel_module_package -n %{name} -p %{S:3} kdump um
 
@@ -60,6 +61,7 @@
 %if 0%{?suse_version} > 1220
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %endif
 echo "iscsi_trgt.ko yes" > kernel/Module.supported
 

++++++ iscsitarget-kernel-3.7.patch ++++++
Index: b/kernel/event.c
===================================================================
--- a/kernel/event.c
+++ b/kernel/event.c
@@ -24,11 +24,11 @@ static void event_recv_skb(struct sk_buf
                if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len)
                        break;
                rlen = NLMSG_ALIGN(nlh->nlmsg_len);
                if (rlen > skb->len)
                        rlen = skb->len;
-               ietd_pid = NETLINK_CB(skb).pid;
+               ietd_pid = NETLINK_CB(skb).portid;
                WARN_ON(ietd_pid == 0);
                if (nlh->nlmsg_flags & NLM_F_ACK)
                        netlink_ack(skb, nlh, 0);
                skb_pull(skb, rlen);
        }
@@ -75,11 +75,10 @@ int event_init(void)
                .bind = NULL,
        };
 
        nl = netlink_kernel_create(&init_net,
                                   NETLINK_IET,
-                                  THIS_MODULE,
                                   &cfg);
        if (!nl)
                return -ENOMEM;
        else
                return 0;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to