Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2016-01-11 19:09:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/kernel-debug.changes 2016-01-08 15:21:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes 2016-01-11 19:09:48.000000000 +0100
@@ -1,0 +2,20 @@
+Fri Jan 8 17:37:28 CET 2016 - fdmanana@suse.com
+
+- Btrfs: fix fitrim discarding device area reserved for boot
+ loader's use (bsc#960910).
+- commit 95610af
+
+-------------------------------------------------------------------
+Thu Jan 7 22:47:46 CET 2016 - tiwai@suse.de
+
+- ethernet/atheros/alx: sanitize buffer sizing and padding
+ (boo#952621).
+- commit d89492e
+
+-------------------------------------------------------------------
+Thu Jan 7 10:37:01 CET 2016 - dchang@suse.com
+
+- bnx2x: Fix VLANs null-pointer for 57710, 57711 (boo#960923).
+- commit a1b48ad
+
+-------------------------------------------------------------------
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -59,7 +59,7 @@
Group: System/Kernel
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
kernel-default.spec: same change
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -29,7 +29,7 @@
Group: Documentation/Man
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ kernel-lpae.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -59,7 +59,7 @@
Group: System/Kernel
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -44,7 +44,7 @@
Group: SLES
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
kernel-obs-qa.spec: same change
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -59,7 +59,7 @@
Group: System/Kernel
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -32,7 +32,7 @@
Group: Development/Sources
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -27,7 +27,7 @@
Version: 4.3.3
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:56.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:56.000000000 +0100
@@ -59,7 +59,7 @@
Group: System/Kernel
Version: 4.3.3
%if 0%{?is_kotd}
-Release: <RELEASE>.geae9134
+Release: <RELEASE>.gda39cbd
%else
Release: 0
%endif
++++++ patches.drivers.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch new/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch
--- old/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch 2016-01-07 22:47:46.000000000 +0100
@@ -0,0 +1,38 @@
+From: Yuval Mintz
+Date: Sun, 15 Nov 2015 15:02:16 +0200
+Subject: [PATCH] bnx2x: Fix VLANs null-pointer for 57710, 57711
+Patch-mainline: v4.4-rc2
+Git-commit: ab6d7846cf80affc43b9d412fed5e25dfcf4f35d
+References: boo#960923
+
+Commit 05cc5a39ddb7 "bnx2x: add vlan filtering offload" introduced
+a regression in regard for vlans for 57710, 57711 adapters -
+Loading 8021q module on a machine with such an adapter would cause
+a null pointer dereference, as the driver mistakenly publishes it
+has capabilities for vlan CTAG filtering.
+
+Reported-by: Otto Sabart
+Signed-off-by: Yuval Mintz
+Signed-off-by: Ariel Elior
+Signed-off-by: David S. Miller
+Acked-by: David Chang
+---
+ drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+index f1d62d5..c9b0367 100644
+--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
++++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+@@ -13207,7 +13207,7 @@ static int bnx2x_init_dev(struct bnx2x *bp, struct pci_dev *pdev,
+
+ /* VF with OLD Hypervisor or old PF do not support filtering */
+ if (IS_PF(bp)) {
+- if (CHIP_IS_E1x(bp))
++ if (chip_is_e1x)
+ bp->accept_any_vlan = true;
+ else
+ dev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER;
+--
+2.6.2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd new/patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd
--- old/patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd 2016-01-07 22:47:46.000000000 +0100
@@ -0,0 +1,121 @@
+From c406700cdf882b89cb036117414fcd8b0cc2656d Mon Sep 17 00:00:00 2001
+From: Jarod Wilson
+Date: Wed, 6 Jan 2016 09:36:37 -0500
+Subject: [PATCH] ethernet/atheros/alx: sanitize buffer sizing and padding
+Patch-mainline: Queued in subsystem maintainer repository
+Git-commit: c406700cdf882b89cb036117414fcd8b0cc2656d
+Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
+References: boo#952621
+
+This is based on the work done by Przemek Rudy in bug 70761 at
+bugzilla.kernel.org, but with some work done to disentagle and clarify
+things a bit.
+
+Similar to Przemek's work and other drivers, we're adding a padding of 16
+here, but we're also disentangling mtu size calculations from max buffer
+size calculations a bit, and adding ETH_HLEN to the value written into
+ALX_MTU. Hopefully, with a bit more consistency and clarity, things behave
+better here. Sadly, I can only test in my alx-driven E2200, which worked
+just fine before this patch.
+
+In comment #58 of bug 70761, Eugene A. Shatokhin reports that this patch
+does help considerably for a ROSA Linux user of his with an AR8162 network
+adapter when patched into a 4.1.x-based kernel, with several days of
+normal operation where wired network previously wasn't usable without
+setting MTU to 9000 as a work-around.
+
+Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70761
+Cc: "Eugene A. Shatokhin"
+Cc: Przemek Rudy
+Cc: Jay Cliburn
+Cc: Chris Snook
+Cc: netdev@vger.kernel.org
+Signed-off-by: Jarod Wilson
+Signed-off-by: David S. Miller
+Acked-by: Takashi Iwai
+
+---
+ drivers/net/ethernet/atheros/alx/hw.c | 10 +++++-----
+ drivers/net/ethernet/atheros/alx/hw.h | 9 ++++++---
+ drivers/net/ethernet/atheros/alx/main.c | 7 +++----
+ 3 files changed, 14 insertions(+), 12 deletions(-)
+
+--- a/drivers/net/ethernet/atheros/alx/hw.c
++++ b/drivers/net/ethernet/atheros/alx/hw.c
+@@ -958,13 +958,13 @@ void alx_configure_basic(struct alx_hw *
+ alx_write_mem32(hw, ALX_TINT_TPD_THRSHLD, hw->ith_tpd);
+ alx_write_mem32(hw, ALX_TINT_TIMER, hw->imt);
+
+- raw_mtu = hw->mtu + ETH_HLEN;
+- alx_write_mem32(hw, ALX_MTU, raw_mtu + 8);
+- if (raw_mtu > ALX_MTU_JUMBO_TH)
++ raw_mtu = ALX_RAW_MTU(hw->mtu);
++ alx_write_mem32(hw, ALX_MTU, raw_mtu);
++ if (raw_mtu > (ALX_MTU_JUMBO_TH + ETH_FCS_LEN + VLAN_HLEN))
+ hw->rx_ctrl &= ~ALX_MAC_CTRL_FAST_PAUSE;
+
+- if ((raw_mtu + 8) < ALX_TXQ1_JUMBO_TSO_TH)
+- val = (raw_mtu + 8 + 7) >> 3;
++ if (raw_mtu < ALX_TXQ1_JUMBO_TSO_TH)
++ val = (raw_mtu + 7) >> 3;
+ else
+ val = ALX_TXQ1_JUMBO_TSO_TH >> 3;
+ alx_write_mem32(hw, ALX_TXQ1, val | ALX_TXQ1_ERRLGPKT_DROP_EN);
+--- a/drivers/net/ethernet/atheros/alx/hw.h
++++ b/drivers/net/ethernet/atheros/alx/hw.h
+@@ -37,6 +37,7 @@
+ #include
+ #include
+ #include
++#include
+ #include "reg.h"
+
+ /* Transmit Packet Descriptor, contains 4 32-bit words.
+@@ -343,12 +344,14 @@ struct alx_rrd {
+ ALX_RSS_HASH_TYPE_IPV4_TCP | \
+ ALX_RSS_HASH_TYPE_IPV6 | \
+ ALX_RSS_HASH_TYPE_IPV6_TCP)
+-#define ALX_DEF_RXBUF_SIZE 1536
++#define ALX_FRAME_PAD 16
++#define ALX_RAW_MTU(_mtu) (_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN)
++#define ALX_MAX_FRAME_LEN(_mtu) (ALIGN((ALX_RAW_MTU(_mtu) + ALX_FRAME_PAD), 8))
++#define ALX_DEF_RXBUF_SIZE ALX_MAX_FRAME_LEN(1500)
+ #define ALX_MAX_JUMBO_PKT_SIZE (9*1024)
+ #define ALX_MAX_TSO_PKT_SIZE (7*1024)
+ #define ALX_MAX_FRAME_SIZE ALX_MAX_JUMBO_PKT_SIZE
+-#define ALX_MIN_FRAME_SIZE 68
+-#define ALX_RAW_MTU(_mtu) (_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN)
++#define ALX_MIN_FRAME_SIZE (ETH_ZLEN + ETH_FCS_LEN + VLAN_HLEN)
+
+ #define ALX_MAX_RX_QUEUES 8
+ #define ALX_MAX_TX_QUEUES 4
+--- a/drivers/net/ethernet/atheros/alx/main.c
++++ b/drivers/net/ethernet/atheros/alx/main.c
+@@ -705,7 +705,7 @@ static int alx_init_sw(struct alx_priv *
+
+ hw->smb_timer = 400;
+ hw->mtu = alx->dev->mtu;
+- alx->rxbuf_size = ALIGN(ALX_RAW_MTU(hw->mtu), 8);
++ alx->rxbuf_size = ALX_MAX_FRAME_LEN(hw->mtu);
+ alx->tx_ringsz = 256;
+ alx->rx_ringsz = 512;
+ hw->imt = 200;
+@@ -806,7 +806,7 @@ static void alx_reinit(struct alx_priv *
+ static int alx_change_mtu(struct net_device *netdev, int mtu)
+ {
+ struct alx_priv *alx = netdev_priv(netdev);
+- int max_frame = mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN;
++ int max_frame = ALX_MAX_FRAME_LEN(mtu);
+
+ if ((max_frame < ALX_MIN_FRAME_SIZE) ||
+ (max_frame > ALX_MAX_FRAME_SIZE))
+@@ -817,8 +817,7 @@ static int alx_change_mtu(struct net_dev
+
+ netdev->mtu = mtu;
+ alx->hw.mtu = mtu;
+- alx->rxbuf_size = mtu > ALX_DEF_RXBUF_SIZE ?
+- ALIGN(max_frame, 8) : ALX_DEF_RXBUF_SIZE;
++ alx->rxbuf_size = max(max_frame, ALX_DEF_RXBUF_SIZE);
+ netdev_update_features(netdev);
+ if (netif_running(netdev))
+ alx_reinit(alx);
++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/btrfs-fix-fitrim-discarding-device-area-reserved-for.patch new/patches.suse/btrfs-fix-fitrim-discarding-device-area-reserved-for.patch
--- old/patches.suse/btrfs-fix-fitrim-discarding-device-area-reserved-for.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/btrfs-fix-fitrim-discarding-device-area-reserved-for.patch 2016-01-08 17:37:28.000000000 +0100
@@ -0,0 +1,120 @@
+From: Filipe Manana
+Date: Wed, 6 Jan 2016 22:42:35 +0000
+References: bsc#960910
+Patch-mainline: Submitted to linux-btrfs, 8 Jan 2016
+Subject: [PATCH] Btrfs: fix fitrim discarding device area reserved for boot
+ loader's use
+
+As of the 4.3 kernel release, the fitrim ioctl can now discard any region
+of a disk that is not allocated to any chunk/block group, including the
+first megabyte which is used for our primary superblock and by the boot
+loader (grub for example).
+
+Fix this by not allowing to trim/discard any region in the device starting
+with an offset not greater than min(alloc_start_mount_option, 1Mb), just
+as it was not possible before 4.3.
+
+A reproducer test case for xfstests follows.
+
+ seq=`basename $0`
+ seqres=$RESULT_DIR/$seq
+ echo "QA output created by $seq"
+ tmp=/tmp/$$
+ status=1 # failure is the default!
+ trap "_cleanup; exit \$status" 0 1 2 3 15
+
+ _cleanup()
+ {
+ cd /
+ rm -f $tmp.*
+ }
+
+ # get standard environment, filters and checks
+ . ./common/rc
+ . ./common/filter
+
+ # real QA test starts here
+ _need_to_be_root
+ _supported_fs btrfs
+ _supported_os Linux
+ _require_scratch
+
+ rm -f $seqres.full
+
+ _scratch_mkfs >>$seqres.full 2>&1
+
+ # Write to the [0, 64Kb[ and [68Kb, 1Mb[ ranges of the device. These ranges are
+ # reserved for a boot loader to use (GRUB for example) and btrfs should never
+ # use them - neither for allocating metadata/data nor should trim/discard them.
+ # The range [64Kb, 68Kb[ is used for the primary superblock of the filesystem.
+ $XFS_IO_PROG -c "pwrite -S 0xfd 0 64K" $SCRATCH_DEV | _filter_xfs_io
+ $XFS_IO_PROG -c "pwrite -S 0xfd 68K 956K" $SCRATCH_DEV | _filter_xfs_io
+
+ # Now mount the filesystem and perform a fitrim against it.
+ _scratch_mount
+ _require_batched_discard $SCRATCH_MNT
+ $FSTRIM_PROG $SCRATCH_MNT
+
+ # Now unmount the filesystem and verify the content of the ranges was not
+ # modified (no trim/discard happened on them).
+ _scratch_unmount
+ echo "Content of the ranges [0, 64Kb] and [68Kb, 1Mb[ after fitrim:"
+ od -t x1 -N $((64 * 1024)) $SCRATCH_DEV
+ od -t x1 -j $((68 * 1024)) -N $((956 * 1024)) $SCRATCH_DEV
+
+ status=0
+ exit
+
+Reported-by: Vincent Petry
+Reported-by: Andrei Borzenkov
+Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109341
+Fixes: 499f377f49f0 (btrfs: iterate over unused chunk space in FITRIM)
+Cc: stable@vger.kernel.org # 4.3+
+Signed-off-by: Filipe Manana
+---
+ fs/btrfs/volumes.c | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
+index a114b7b..b0a0eb2 100644
+--- a/fs/btrfs/volumes.c
++++ b/fs/btrfs/volumes.c
+@@ -1258,6 +1258,15 @@ int find_free_dev_extent_start(struct btrfs_transaction *transaction,
+ int ret;
+ int slot;
+ struct extent_buffer *l;
++ u64 min_search_start;
++
++ /*
++ * We don't want to overwrite the superblock on the drive nor any area
++ * used by the boot loader (grub for example), so we make sure to start
++ * at an offset of at least 1MB.
++ */
++ min_search_start = max(root->fs_info->alloc_start, 1024ull * 1024);
++ search_start = max(search_start, min_search_start);
+
+ path = btrfs_alloc_path();
+ if (!path)
+@@ -1398,18 +1407,9 @@ int find_free_dev_extent(struct btrfs_trans_handle *trans,
+ struct btrfs_device *device, u64 num_bytes,
+ u64 *start, u64 *len)
+ {
+- struct btrfs_root *root = device->dev_root;
+- u64 search_start;
+-
+ /* FIXME use last free of some kind */
+-
+- /*
+- * we don't want to overwrite the superblock on the drive,
+- * so we make sure to start at an offset of at least 1MB
+- */
+- search_start = max(root->fs_info->alloc_start, 1024ull * 1024);
+ return find_free_dev_extent_start(trans->transaction, device,
+- num_bytes, search_start, start, len);
++ num_bytes, 0, start, len);
+ }
+
+ static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans,
+--
+1.8.4.5
+
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:58.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:58.000000000 +0100
@@ -262,6 +262,7 @@
########################################################
patches.suse/btrfs-advertise-which-crc32c-implementation-is-being-used-on-mount
patches.suse/btrfs-provide-super_operations-get_inode_dev
+ patches.suse/btrfs-fix-fitrim-discarding-device-area-reserved-for.patch
########################################################
# Reiserfs Patches
@@ -365,6 +366,8 @@
########################################################
patches.fixes/tulip-quad-NIC-ifdown
patches.drivers/ethernet-atheros-alx-add-Killer-E2400-device-ID
+ patches.drivers/ethernet-atheros-alx-sanitize-buffer-sizing-and-padd
+ patches.drivers/bnx2x-Fix-VLANs-null-pointer-for-57710-57711.patch
########################################################
# Wireless Networking
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.gSuf7Q/_old 2016-01-11 19:09:58.000000000 +0100
+++ /var/tmp/diff_new_pack.gSuf7Q/_new 2016-01-11 19:09:58.000000000 +0100
@@ -1,3 +1,3 @@
-2016-01-04 13:38:39 +0100
-GIT Revision: eae9134ca7ff2668f53859d8b87bd24dc148f234
+2016-01-08 19:34:17 +0100
+GIT Revision: da39cbdb86dc7846e1d114fea0ea43fa45aca064
GIT Branch: stable