[linux] 02/03: Avoid/ignore more ABI changes in 4.13.y

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sat Oct 28 21:43:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux.

commit ec3cd54d451d9feea81dcff5303075bcfef71a2f
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sat Oct 28 20:49:52 2017 +0100

    Avoid/ignore more ABI changes in 4.13.y
---
 debian/changelog                                   |  3 +-
 debian/config/defines                              |  5 +++-
 .../mac80211-avoid-abi-change-in-4.13.5.patch      | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 68855db..6e1deeb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -326,11 +326,12 @@ linux (4.13.9-1) UNRELEASED; urgency=medium
   * dax: Avoid most ABI changes in 4.13.5
   * SCSI: Avoid ABI change in 4.13.6
   * [x86] kvm: Ignore ABI change in 4.13.6
-  * seq-virmidi: Ignore ABI change in 4.13.8
+  * inet, l2tp, seq-virmidi, usb/gadget: Ignore ABI changes
   * Revert "bpf: one perf event close won't free bpf program attached ..."
     to avoid an ABI change
   * [armel] security: Enable SECURITY_APPARMOR and disable SECURITY_SELINUX
   * security: Enable DEFAULT_SECURITY_APPARMOR
+  * mac80211: Avoid ABI change in 4.13.5
 
  -- Ben Hutchings <ben at decadent.org.uk>  Wed, 18 Oct 2017 20:03:01 +0100
 
diff --git a/debian/config/defines b/debian/config/defines
index 74152f6..cc9571e 100644
--- a/debian/config/defines
+++ b/debian/config/defines
@@ -5,6 +5,8 @@ ignore-changes:
  bpf_analyzer
  cxl_*
  dax_flush
+ inet_add_protocol
+ inet_del_protocol
  iommu_device_*
  kvm_async_pf_task_wait
  mm_iommu_*
@@ -27,11 +29,12 @@ ignore-changes:
  module:drivers/scsi/ufs/*
  module:drivers/target/**
  module:drivers/usb/chipidea/**
+ module:drivers/usb/gadget/**
  module:drivers/usb/host/**
  module:drivers/usb/musb/**
  module:fs/nfs/**
  module:net/ceph/libceph
- module:net/l2tp/l2tp_core
+ module:net/l2tp/**
  module:sound/core/seq/snd-seq-virmidi
  module:sound/firewire/snd-firewire-lib
 # btree library is only selected by few drivers so not useful OOT
diff --git a/debian/patches/debian/mac80211-avoid-abi-change-in-4.13.5.patch b/debian/patches/debian/mac80211-avoid-abi-change-in-4.13.5.patch
new file mode 100644
index 0000000..52ccd78
--- /dev/null
+++ b/debian/patches/debian/mac80211-avoid-abi-change-in-4.13.5.patch
@@ -0,0 +1,34 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Sat, 28 Oct 2017 20:46:43 +0100
+Subject: mac80211: Avoid ABI change in 4.13.5
+Forwarded: not-needed
+
+Commit 531682159092 ("mac80211: fix VLAN handling with TXQs") replaced
+a union with two separate members in ieee80211_tx_info::control.  The
+one which changed offset (enqueue_time) doesn't appear to be accessed
+outside of the mac80211 module, so this shouldn't be an ABI change for
+drivers.  Therefore hide the ABI change from genksyms.
+
+---
+--- a/include/net/mac80211.h
++++ b/include/net/mac80211.h
+@@ -919,10 +919,19 @@ struct ieee80211_tx_info {
+ 				unsigned long jiffies;
+ 			};
+ 			/* NB: vif can be NULL for injected frames */
++#ifndef __GENKSYMS__
+ 			struct ieee80211_vif *vif;
++#else
++			union {
++				struct ieee80211_vif *vif;
++				codel_time_t enqueue_time;
++			};
++#endif
+ 			struct ieee80211_key_conf *hw_key;
+ 			u32 flags;
++#ifndef __GENKSYMS__
+ 			codel_time_t enqueue_time;
++#endif
+ 		} control;
+ 		struct {
+ 			u64 cookie;
diff --git a/debian/patches/series b/debian/patches/series
index 1f9d81a..c39891e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -134,3 +134,4 @@ bugfix/all/tools-lib-lockdep-define-pr_cont.patch
 debian/scsi-avoid-abi-change-in-4.13.6.patch
 debian/dax-avoid-abi-change-in-4.13.5.patch
 debian/revert-bpf-one-perf-event-close-won-t-free-bpf-program-atta.patch
+debian/mac80211-avoid-abi-change-in-4.13.5.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list