Re: Mis-backport in af_unix patch for Linux 3.10.95

2016-01-24 Thread Willy Tarreau
Hello, On Sun, Jan 24, 2016 at 12:10:35AM -0500, Sultan Qasim wrote: > Hello all, > > I'm an outsider to the Linux kernel community, so I apologize if this > is not the right channel to mention this. The simple fact that you participate, inspect the code and report bugs makes you part of this

[PATCH v2] net: dsa: fix mv88e6xxx switches

2016-01-24 Thread Russell King
Since commit 76e398a62712 ("net: dsa: use switchdev obj for VLAN add/del ops"), the Marvell 88E6xxx switch has been unable to pass traffic between ports - any received traffic is discarded by the switch. Taking a port out of bridge mode and configuring a vlan on it also the port to start passing

Re: [RFC PATCH v2] ethtool: add IPv6 to the NFC API

2016-01-24 Thread Ben Hutchings
On Fri, 2016-01-22 at 18:04 +, Edward Cree wrote: [...] >  #define IP_USER_FLOW0x0d/* spec only (usr_ip4_spec) */ > +#define IP6_USER_FLOW 0x0e/* spec only (usr_ip6_spec; nfc only) */ [...] This should be named IPV6_USER_FLOW for consistency with the other NFC type

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread Florian Fainelli
Hi Jesper On 18/01/2016 03:54, Jesper Dangaard Brouer wrote: > > On Fri, 15 Jan 2016 15:38:43 +0100 Felix Fietkau wrote: >> On 2016-01-15 15:00, Jesper Dangaard Brouer wrote: > [...] >>> >>> The icache is still quite small 32Kb on modern server processors. I >>> don't know if

Re: tbl->lock not taken in neigh_lookup() ?

2016-01-24 Thread Ani Sinha
Hi All: Can I get some insights into this? I am sure I am missing something. thanks ani On Thu, Jan 21, 2016 at 9:05 PM, Ani Sinha wrote: > hi guys > > As per the comment at the top of net/core/neighbor.c we should be > taking this lock even for scanning the hash buckets. I

Re: [PATCH net] af_unix: fix struct pid memory leak

2016-01-24 Thread Willy Tarreau
Hi Eric, On Sun, Jan 24, 2016 at 01:53:50PM -0800, Eric Dumazet wrote: > From: Eric Dumazet > > Dmitry reported a struct pid leak detected by a syzkaller program. > > Bug happens in unix_stream_recvmsg() when we break the loop when a > signal is pending, without properly

[v2 PATCH 9/26] eCryptfs: Use skcipher and shash

2016-01-24 Thread Herbert Xu
On Sun, Jan 24, 2016 at 07:10:50PM +0100, Julia Lawall wrote: > Maybe the goto on line 1726 needs a preceding mutex_unlock? Good catch! Thanks. ---8<--- This patch replaces uses of ablkcipher and blkcipher with skcipher, and the long obsolete hash interface with shash. Signed-off-by: Herbert Xu

Re: [PATCH net] sctp: allow setting SCTP_SACK_IMMEDIATELY by the application

2016-01-24 Thread Vladislav Yasevich
On Fri, Jan 22, 2016 at 3:29 PM, Marcelo Ricardo Leitner wrote: > This patch extends commit b93d6471748d ("sctp: implement the sender side > for SACK-IMMEDIATELY extension") as it didn't white list > SCTP_SACK_IMMEDIATELY on sctp_msghdr_parse(), causing it to be >

Re: [RFC PATCH v2] ethtool: add IPv6 to the NFC API

2016-01-24 Thread Ben Hutchings
On Fri, 2016-01-22 at 10:54 -0800, Alexander Duyck wrote: > On Fri, Jan 22, 2016 at 10:04 AM, Edward Cree wrote: [...] > > +/** > > + * struct ethtool_usrip6_spec - general flow specification for IPv6 > > + * @ip6src: Source host > > + * @ip6dst: Destination host > > + *

Re: [PATCH v2] net: fec: make driver endian-safe

2016-01-24 Thread Greg Ungerer
Hi Johannes, On 25/01/16 01:52, Johannes Berg wrote: > The driver treats the device descriptors as CPU-endian, which appears > to be correct with the default endianness on both ARM (typically LE) > and PowerPC (typically BE) SoCs, indicating that the hardware block > is generated differently. Add

[PATCH 20/26] drbd: Use shash and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with either shash (for non-SG users) or ahash. Signed-off-by: Herbert Xu --- drivers/block/drbd/drbd_int.h | 16 +- drivers/block/drbd/drbd_main.c | 16 +-

[PATCH 6/26] staging: rtl8192u: Use skcipher and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher, and the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 92 +++---

[PATCH 26/26] tcp: Use ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- include/net/tcp.h |6 +- net/ipv4/tcp.c | 41 ++--- net/ipv4/tcp_fastopen.c |1 +

[PATCH 8/26] cifs: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- fs/cifs/cifsencrypt.c | 32 +--- fs/cifs/smbencrypt.c | 26 +++--- 2 files changed, 40 insertions(+), 18 deletions(-) diff

[PATCH 4/26] dm crypt: Use skcipher and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of ablkcipher with skcipher, and the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- drivers/md/dm-crypt.c | 93 +- 1 file changed, 48 insertions(+), 45

Re: [PATCH 15/26] Bluetooth: Use skcipher and hash

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x014-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): net/bluetooth/smp.c: In function 'aes_cmac': >> net/bluetooth

Re: [PATCH 1/26] block: cryptoloop - Use new skcipher interface

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x014-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/block/cryptoloop.c: In function 'cryptoloop_transfer': >

[PATCH 5/26] orinoco: Use ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- drivers/net/wireless/intersil/orinoco/mic.c | 29 ++-- drivers/net/wireless/intersil/orinoco/mic.h |4 +--

[PATCH 2/26] ppp_mppe: Use skcipher and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher, and the long obsolete hash interface with ahash. This is a bug-for-bug conversion and no attempt has been made to fix bugs such as the ignored return values of the crypto operations. Signed-off-by: Herbert Xu ---

[PATCH 3/26] staging: rtl8192e: Replace uses of obsolete blkcipher and hash

2016-01-24 Thread Herbert Xu
The interfaces blkcipher and hash are obsolete. This patch replaces them with skcipher and ahash respectively. Signed-off-by: Herbert Xu --- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 99 ++-

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread Michael S. Tsirkin
On Sun, Jan 24, 2016 at 03:28:14PM +0100, Jesper Dangaard Brouer wrote: > On Thu, 21 Jan 2016 10:54:01 -0800 (PST) > David Miller wrote: > > > From: Jesper Dangaard Brouer > > Date: Thu, 21 Jan 2016 12:27:30 +0100 > > > > > eth_type_trans() does two

Re: [PATCH/RFC v3 net-next] ravb: Add dma queue interrupt support

2016-01-24 Thread Yoshihiro Kaneko
Hi Sergei, 2016-01-24 7:17 GMT+09:00 Sergei Shtylyov : > Hello. > > On 01/17/2016 01:55 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi >> >> This patch supports the following interrupts. >> >> - One interrupt for

[PATCH 15/26] Bluetooth: Use skcipher and hash

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher and the long obsolete hash interface with shash. Signed-off-by: Herbert Xu --- net/bluetooth/smp.c | 135 1 file changed, 63 insertions(+), 72 deletions(-)

[PATCH 25/26] sctp: Use shash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with shash. Signed-off-by: Herbert Xu --- include/net/sctp/auth.h|4 +-- include/net/sctp/structs.h |6 ++--- net/sctp/auth.c| 36 ---

[PATCH 22/26] iscsi_tcp: Use ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- drivers/scsi/iscsi_tcp.c| 54 ++-- drivers/scsi/iscsi_tcp.h|4 +-- drivers/scsi/libiscsi_tcp.c | 29

[PATCH 17/26] mac802154: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- net/mac802154/llsec.c | 41 +++-- net/mac802154/llsec.h |3 +-- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git

[PATCH 10/26] ext4: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of ablkcipher with skcipher. Signed-off-by: Herbert Xu --- fs/ext4/crypto.c | 24 +++- fs/ext4/crypto_fname.c | 32 +++- fs/ext4/crypto_key.c | 42

Re: [PATCH 19/26] ipsec: Use skcipher and ahash when probing algorithms

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x014-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): net/xfrm/xfrm_algo.c: In function 'xfrm_probe_algs': >&

Re: [PATCH 21/26] nfc: s3fwrn5: Use shash

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x014-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/nfc/s3fwrn5/firmware.c: In function 's3fwrn5_fw_do

Re: [PATCH 24/26] nfsd: Use shash

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x009-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): fs/nfsd/nfs4recover.c: In function 'nfs4_make_rec_clidname': >

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread Jesper Dangaard Brouer
On Thu, 21 Jan 2016 10:54:01 -0800 (PST) David Miller wrote: > From: Jesper Dangaard Brouer > Date: Thu, 21 Jan 2016 12:27:30 +0100 > > > eth_type_trans() does two things: > > > > 1) determine skb->protocol > > 2) setup skb->pkt_type =

[PATCH 1/26] block: cryptoloop - Use new skcipher interface

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with the new skcipher interface. Signed-off-by: Herbert Xu --- drivers/block/cryptoloop.c | 48 +++-- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git

[PATCH 13/26] lib80211: Use skcipher and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher and the long obsolete hash interface with ahash. Signed-off-by: Herbert Xu --- net/wireless/lib80211_crypt_tkip.c | 99 - net/wireless/lib80211_crypt_wep.c | 46

[PATCH 11/26] f2fs: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of ablkcipher with skcipher. Signed-off-by: Herbert Xu --- fs/f2fs/crypto.c | 24 +++- fs/f2fs/crypto_fname.c | 32 +++- fs/f2fs/crypto_key.c | 40

[PATCH 19/26] ipsec: Use skcipher and ahash when probing algorithms

2016-01-24 Thread Herbert Xu
This patch removes the last reference to hash and ablkcipher from IPsec and replaces them with ahash and skcipher respectively. For skcipher there is currently no difference at all, while for ahash the current code is actually buggy and would prevent asynchronous algorithms from being discovered.

[PATCH 12/26] sunrpc: Use skcipher and ahash/shash

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher and the long obsolete hash interface with either shash (for non-SG users) and ahash. Signed-off-by: Herbert Xu --- include/linux/sunrpc/gss_krb5.h | 32 +-- net/sunrpc/auth_gss/gss_krb5_crypto.c | 350

[PATCH 23/26] iscsi-target: Use shash and ahash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with either shash (for non-SG users) or ahash. Signed-off-by: Herbert Xu --- drivers/target/iscsi/iscsi_target.c | 86 ++ drivers/target/iscsi/iscsi_target_auth.c | 98

[PATCH 21/26] nfc: s3fwrn5: Use shash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with shash. Signed-off-by: Herbert Xu --- drivers/nfc/s3fwrn5/firmware.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git

[PATCH 24/26] nfsd: Use shash

2016-01-24 Thread Herbert Xu
This patch replaces uses of the long obsolete hash interface with shash. Signed-off-by: Herbert Xu --- fs/nfsd/nfs4recover.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/fs/nfsd/nfs4recover.c

[PATCH 9/26] eCryptfs: Use skcipher and shash

2016-01-24 Thread Herbert Xu
This patch replaces uses of ablkcipher and blkcipher with skcipher, and the long obsolete hash interface with shash. Signed-off-by: Herbert Xu --- fs/ecryptfs/crypto.c | 107 +--- fs/ecryptfs/ecryptfs_kernel.h | 12 +-

Re: [PATCH 9/26] eCryptfs: Use skcipher and shash

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x012-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): fs/ecryptfs/crypto.c: In function 'ecryptfs_hash_digest':

Re: [PATCH 7/26] wusb: Use skcipher

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x016-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/usb/wusbcore/crypto.c: In function 'wusb_ccm_mac': >>

[PATCH 0/26] crypto: Use skcipher and ahash/shash where possible

2016-01-24 Thread Herbert Xu
Hi: The crypto hash interface has been obsolete for many years and this series converts all remaining users to shash and ahash as appropriate. Despite the name ahash can be used synchronously and is the preferred interface for those dealing with SGs. The blkcipher and ablkcipher interfaces are

[PATCH 14/26] KEYS: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- security/keys/encrypted-keys/encrypted.c | 82 ++- 1 file changed, 50 insertions(+), 32 deletions(-) diff --git

[PATCH 7/26] wusb: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- drivers/usb/wusbcore/crypto.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/usb/wusbcore/crypto.c

[PATCH 18/26] rxrpc: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- net/rxrpc/ar-internal.h |2 net/rxrpc/ar-key.c | 12 +-- net/rxrpc/rxkad.c | 172 +--- 3 files changed, 114

[PATCH 16/26] libceph: Use skcipher

2016-01-24 Thread Herbert Xu
This patch replaces uses of blkcipher with skcipher. Signed-off-by: Herbert Xu --- net/ceph/crypto.c | 97 +++--- 1 file changed, 56 insertions(+), 41 deletions(-) diff --git a/net/ceph/crypto.c

Re: [PATCH 1/26] block: cryptoloop - Use new skcipher interface

2016-01-24 Thread Herbert Xu
On Sun, Jan 24, 2016 at 09:37:33PM +0800, kbuild test robot wrote: > > [auto build test ERROR on net/master] > [also build test ERROR on v4.4 next-20160122] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] These patches depend on the two

Re: [PATCH 4/26] dm crypt: Use skcipher and ahash

2016-01-24 Thread kbuild test robot
-where-possible/20160124-212323 config: x86_64-randconfig-x014-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/md/dm-crypt.c: In function 'crypt_iv_essiv_init': >> d

Re: [PATCH 19/26] ipsec: Use skcipher and ahash when probing algorithms

2016-01-24 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:19:11 +0800 > This patch removes the last reference to hash and ablkcipher from > IPsec and replaces them with ahash and skcipher respectively. For > skcipher there is currently no difference at all, while for ahash > the

Re: [PATCH 25/26] sctp: Use shash

2016-01-24 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:20:12 +0800 > This patch replaces uses of the long obsolete hash interface with > shash. > > Signed-off-by: Herbert Xu Acked-by: David S. Miller

[PATCH 1/3] i40e: fix build warning

2016-01-24 Thread Sudip Mukherjee
While building we are getting warning about: i40e_main.c:8604:13: warning: 'i40e_add_geneve_port' defined but not used and i40e_main.c:8651:13: warning: 'i40e_del_geneve_port' defined but not used The contents of these functions are defined under CONFIG_GENEVE, so if CONFIG_GENEVE is not defined

Re: [PATCH net] pptp: fix illegal memory access caused by multiple bind()s

2016-01-24 Thread David Miller
From: Hannes Frederic Sowa Date: Fri, 22 Jan 2016 01:39:43 +0100 > Several times already this has been reported as kasan reports caused by > syzkaller and trinity and people always looked at RCU races, but it is > much more simple. :) > > In case we bind a pptp

Re: [PATCH v2] net: fec: make driver endian-safe

2016-01-24 Thread Johannes Berg
On Mon, 2016-01-25 at 10:52 +1000, Greg Ungerer wrote: >  > I tested this on a ColdFire (5208) target that uses this driver. > Simple testing showed it working with no problems. The ColdFire > SoC processors use a version of the FEC hardware module, and they > always run big-endian. > Great,

Re: tbl->lock not taken in neigh_lookup() ?

2016-01-24 Thread Eric Dumazet
On Mon, 2016-01-25 at 10:11 +0530, Ani Sinha wrote: > Hi All: > > Can I get some insights into this? I am sure I am missing something. > > thanks > ani > > > On Thu, Jan 21, 2016 at 9:05 PM, Ani Sinha wrote: > > hi guys > > > > As per the comment at the top of

Re: [PATCH] drivers: net: xgene: fix extra IRQ issue

2016-01-24 Thread David Miller
From: Iyappan Subramanian Date: Thu, 21 Jan 2016 16:07:41 -0800 > For interrupt controller that doesn't support irq_disable and hardware > with level interrupt, an extra interrupt may be pending. This patch fixes > the issue by setting IRQ_DISABLE_UNLAZY flag for the

[PATCH 3/3] defxx: fix build warning

2016-01-24 Thread Sudip Mukherjee
We are getting many build warning about: 'bar_start' may be used uninitialized and 'bar_len' may be used uninitialized They are not actually uninitialized as dfx_get_bars() will initialize them properly. But still lets have them initialized just to satisfy the compiler. Signed-off-by: Sudip

Re: [PATCH net] sctp: allow setting SCTP_SACK_IMMEDIATELY by the application

2016-01-24 Thread David Miller
From: Marcelo Ricardo Leitner Date: Fri, 22 Jan 2016 18:29:49 -0200 > This patch extends commit b93d6471748d ("sctp: implement the sender side > for SACK-IMMEDIATELY extension") as it didn't white list > SCTP_SACK_IMMEDIATELY on sctp_msghdr_parse(), causing it to be >

Re: [PATCH 3/3] defxx: fix build warning

2016-01-24 Thread Maciej W. Rozycki
On Mon, 25 Jan 2016, Sudip Mukherjee wrote: > We are getting many build warning about: > 'bar_start' may be used uninitialized > and > 'bar_len' may be used uninitialized > > They are not actually uninitialized as dfx_get_bars() will initialize > them properly. But still lets have them

[PATCH v2] defxx: fix build warning

2016-01-24 Thread Sudip Mukherjee
We are getting many build warnings about: 'bar_start' may be used uninitialized and 'bar_len' may be used uninitialized They are not actually uninitialized as dfx_get_bars() will initialize them properly. But still lets have them initialized just to satisfy the compiler (gcc 4.8.2).

[PATCH 2/3] net: macb: fix build warning

2016-01-24 Thread Sudip Mukherjee
We are getting build warning about: macb.c:2889:13: warning: 'tx_clk' may be used uninitialized in this function macb.c:2888:11: warning: 'hclk' may be used uninitialized in this function In reality they are not used uninitialized as clk_init() will initialize them, this patch will just silence

Re: [RFC PATCH net] net/core: don't increment rx_dropped on inactive slaves

2016-01-24 Thread David Miller
From: Jarod Wilson Date: Fri, 22 Jan 2016 14:11:22 -0500 > diff --git a/net/core/dev.c b/net/core/dev.c > index 8cba3d8..1354c7b 100644 > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -4153,8 +4153,11 @@ ncls: > else > ret =

Re: [PATCH 15/26] Bluetooth: Use skcipher and hash

2016-01-24 Thread Marcel Holtmann
Hi Herbert, > This patch replaces uses of blkcipher with skcipher and the long > obsolete hash interface with shash. > > Signed-off-by: Herbert Xu Acked-by: Marcel Holtmann > --- > > net/bluetooth/smp.c | 135 >

Re: tbl->lock not taken in neigh_lookup() ?

2016-01-24 Thread David Miller
From: Ani Sinha Date: Mon, 25 Jan 2016 10:11:15 +0530 > Can I get some insights into this? I am sure I am missing something. The whole point of RCU locking is that read accesses in the fast paths (lookups) do not need to take the spinlock. Proper RCU barriers, RCU deferred

Re: [PATCH 26/26] tcp: Use ahash

2016-01-24 Thread David Miller
From: Herbert Xu Date: Sun, 24 Jan 2016 21:20:23 +0800 > This patch replaces uses of the long obsolete hash interface with > ahash. > > Signed-off-by: Herbert Xu Acked-by: David S. Miller

Re: [PATCH] net: simplify napi_synchronize() to avoid warnings

2016-01-24 Thread David Miller
From: Arnd Bergmann Date: Fri, 22 Jan 2016 11:43:44 +0100 > The napi_synchronize() function is defined twice: The definition > for SMP builds waits for other CPUs to be done, while the uniprocessor > variant just contains a barrier and ignores its argument. > > In the mvneta

[PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-01-24 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi This patch supports the following interrupts. - One interrupt for multiple (descriptor, error, management) - One interrupt for emac - Four interrupts for dma queue (best effort rx/tx, network control rx/tx) This patch improve efficiency

[PATCH v2] net: fec: make driver endian-safe

2016-01-24 Thread Johannes Berg
The driver treats the device descriptors as CPU-endian, which appears to be correct with the default endianness on both ARM (typically LE) and PowerPC (typically BE) SoCs, indicating that the hardware block is generated differently. Add endianness annotations and byteswaps as necessary. It's not

Re: Mis-backport in af_unix patch for Linux 3.10.95

2016-01-24 Thread Sultan Qasim
Hello, Thank you very much for the warm welcome :-) You're right, the noblock variable is used elsewhere in the stream receive function, so nothing is needed there after the interruptible logic is restored for the dgram function. Your patch looks good to me. I had picked the Linux 3.12.52

[BUG] Adding vlan to DSA port causes lockdep splat

2016-01-24 Thread Russell King - ARM Linux
Adding a vlan to a DSA switch port netdev causes the following lockdep splat on v4.4. This was caused by: # vconfig add lan5 2048 # ip link set lan5.2048 up = [ INFO: possible recursive locking detected ] 4.4.0+ #41 Not tainted

Re: [PATCH v2] net: fec: make driver endian-safe

2016-01-24 Thread Arnd Bergmann
On Sunday 24 January 2016 16:52:37 Johannes Berg wrote: > It's not clear that the ifdef there really is correct and shouldn't > just be #ifdef CONFIG_ARM, but I also can't test on anything but the > i.MX6 HummingBoard where this gets it working with a BE kernel. > > Signed-off-by: Johannes Berg

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread John Fastabend
On 16-01-24 06:44 AM, Michael S. Tsirkin wrote: > On Sun, Jan 24, 2016 at 03:28:14PM +0100, Jesper Dangaard Brouer wrote: >> On Thu, 21 Jan 2016 10:54:01 -0800 (PST) >> David Miller wrote: >> >>> From: Jesper Dangaard Brouer >>> Date: Thu, 21 Jan 2016

Re: [PATCH 9/26] eCryptfs: Use skcipher and shash

2016-01-24 Thread Julia Lawall
drop us a note to > help improving the system] > > url: > https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-Use-skcipher-and-ahash-shash-where-possible/20160124-212323 > :: branch date: 5 hours ago > :: commit date: 5 hours ago > > >> fs/ecryptfs/key

Re: [PATCH v2] net: fec: make driver endian-safe

2016-01-24 Thread Johannes Berg
On Sun, 2016-01-24 at 17:49 +0100, Arnd Bergmann wrote: > I'd argue that the "(CONFIG_ARCH_MXC) || defined(CONFIG_SOC_IMX28)" > is definitely wrong, because if we ever get another ARM platform > that uses this driver, it may or may not work depending on whether > the ARCH_MXC is also set, and

Re: [PATCH 3/26] staging: rtl8192e: Replace uses of obsolete blkcipher and hash

2016-01-24 Thread Greg KH
On Sun, Jan 24, 2016 at 09:16:26PM +0800, Herbert Xu wrote: > The interfaces blkcipher and hash are obsolete. This patch replaces > them with skcipher and ahash respectively. > > Signed-off-by: Herbert Xu > --- > > drivers/staging/rtl8192e/rtllib_crypt_tkip.c |

Re: [PATCH 6/26] staging: rtl8192u: Use skcipher and ahash

2016-01-24 Thread Greg KH
On Sun, Jan 24, 2016 at 09:16:57PM +0800, Herbert Xu wrote: > This patch replaces uses of blkcipher with skcipher, and the long > obsolete hash interface with ahash. > > Signed-off-by: Herbert Xu > --- > >

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread Tom Herbert
On Sun, Jan 24, 2016 at 6:28 AM, Jesper Dangaard Brouer wrote: > On Thu, 21 Jan 2016 10:54:01 -0800 (PST) > David Miller wrote: > >> From: Jesper Dangaard Brouer >> Date: Thu, 21 Jan 2016 12:27:30 +0100 >> >> > eth_type_trans() does two

[PATCH net] af_unix: fix struct pid memory leak

2016-01-24 Thread Eric Dumazet
From: Eric Dumazet Dmitry reported a struct pid leak detected by a syzkaller program. Bug happens in unix_stream_recvmsg() when we break the loop when a signal is pending, without properly releasing scm. Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread John Fastabend
On 16-01-24 12:09 PM, Tom Herbert wrote: > On Sun, Jan 24, 2016 at 6:28 AM, Jesper Dangaard Brouer > wrote: >> On Thu, 21 Jan 2016 10:54:01 -0800 (PST) >> David Miller wrote: >> >>> From: Jesper Dangaard Brouer >>> Date: Thu, 21 Jan

Re: Mis-backport in af_unix patch for Linux 3.10.95

2016-01-24 Thread Greg KH
On Sun, Jan 24, 2016 at 11:16:25AM -0500, Sultan Qasim wrote: > Hello, > > Thank you very much for the warm welcome :-) > > You're right, the noblock variable is used elsewhere in the stream > receive function, so nothing is needed there after the interruptible > logic is restored for the dgram

Re: struct pid memory leak

2016-01-24 Thread Eric Dumazet
On Sat, Jan 23, 2016 at 7:04 PM, Willy Tarreau wrote: > On Sat, Jan 23, 2016 at 06:50:11PM -0800, Eric Dumazet wrote: >> On Sat, Jan 23, 2016 at 6:38 PM, Willy Tarreau wrote: >> > On Sun, Jan 24, 2016 at 03:11:45AM +0100, Willy Tarreau wrote: >> >> It doesn't report

[net] igbvf: remove "link is Up" message when registering mcast address

2016-01-24 Thread Jon Maxwell
A similar issue was addressed a few years ago in the following thread: http://www.spinics.net/lists/netdev/msg245877.html At that time there were concerns that removing this statement may cause other side effects. However the submitter addressed those concerns. But the dialogue went cold. We

Re: Optimizing instruction-cache, more packets at each stage

2016-01-24 Thread Tom Herbert
On Sun, Jan 24, 2016 at 1:41 PM, John Fastabend wrote: > On 16-01-24 12:09 PM, Tom Herbert wrote: >> On Sun, Jan 24, 2016 at 6:28 AM, Jesper Dangaard Brouer >> wrote: >>> On Thu, 21 Jan 2016 10:54:01 -0800 (PST) >>> David Miller