[net-next 14/17] e1000e: Increase timeout of polling bit RSPCIPHY

2015-12-13 Thread Jeff Kirsher
From: Raanan Avargil Due to timing changes to the ME firmware in Skylake, this timer needs to be increased to 300ms. Signed-off-by: Raanan Avargil Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher

[net-next 17/17] e1000e: initial support for i219-LM (3)

2015-12-13 Thread Jeff Kirsher
From: Raanan Avargil i219-LM (3) is a LOM that will be available on systems with the Lewisburg Platform Controller Hub (PCH) chipset from Intel. This patch provides the initial support for the device. Signed-off-by: Raanan Avargil Tested-by:

[net-next 13/17] e1000e: fix division by zero on jumbo MTUs

2015-12-13 Thread Jeff Kirsher
From: Dmitry Fleytman This patch fixes possible division by zero in receive interrupt handler when working without adaptive interrupt moderation. The adaptive interrupt moderation mechanism is typically disabled on jumbo MTUs. Signed-off-by: Dmitry Fleytman

[net-next 15/17] igb: fix NULL derefs due to skipped SR-IOV enabling

2015-12-13 Thread Jeff Kirsher
From: Jan Beulich The combined effect of commits 6423fc3416 ("igb: do not re-init SR-IOV during probe") and ceee3450b3 ("igb: make sure SR-IOV init uses the right number of queues") causes VFs no longer getting set up, leading to NULL pointer dereferences due to the adapter's

[net-next 16/17] igb: improve handling of disconnected adapters

2015-12-13 Thread Jeff Kirsher
From: Jarod Wilson Clean up array_rd32 so that it uses igb_rd32 the same as rd32, per the suggestion of Alexander Duyck, and use io_addr in more places, so that we don't have the need to call E1000_REMOVED (which simply looks for a null hw_addr) nearly as much. Signed-off-by:

[net-next 04/17] igb: don't unmap NULL hw_addr

2015-12-13 Thread Jeff Kirsher
From: Jarod Wilson I've got a startech thunderbolt dock someone loaned me, which among other things, has the following device in it: 08:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) This hotplugs just fine (kernel 4.2.0 plus a patch or

[net-next 12/17] e1000: Elementary checkpatch warnings and checks removed

2015-12-13 Thread Jeff Kirsher
From: Janusz Wolak Signed-off-by: Janusz Wolak Acked-by: Jesse Brandeburg Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher ---

[net-next 08/17] e1000: fix a typo in the comment

2015-12-13 Thread Jeff Kirsher
From: Jean Sacren Use 'That' to replace 'The' so that the comment would make sense. Signed-off-by: Jean Sacren Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher ---

[net-next 02/17] igb: add 88E1543 initialization code

2015-12-13 Thread Jeff Kirsher
From: Todd Fujinaka Initialize the 88E1543 PHY. Signed-off-by: Todd Fujinaka Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/igb/e1000_82575.c | 7 ++

[net-next 10/17] e1000: fix kernel-doc argument being missing

2015-12-13 Thread Jeff Kirsher
From: Jean Sacren Due to historical reason, 'phy_data' has never been included in the kernel doc. Fix it so that the requirement could be fulfilled. Signed-off-by: Jean Sacren Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher

[net-next 00/17][pull request] 1GbE Intel Wired LAN Driver Updates 2015-12-12

2015-12-13 Thread Jeff Kirsher
This series contains updates to e1000, e1000e and igb. Joern Engel fixes up the e1000 driver to reduce scheduler latencies by making the eeprom read/write functions scheduler friendly by using a mutex lock instead of a spin lock. Todd adds code for igb to initialize the 88E1543 PHY properly.

[net-next 09/17] e1000e: clean up the local variable

2015-12-13 Thread Jeff Kirsher
From: Jean Sacren The local variable 'ret' doesn't serve much purpose so we might as well clean it up. Signed-off-by: Jean Sacren Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher ---

[net-next 06/17] igb: use the correct i210 register for EEMNGCTL

2015-12-13 Thread Jeff Kirsher
From: Todd Fujinaka The i210 has two EEPROM access registers that are located in non-standard offsets: EEARBC and EEMNGCTL. EEARBC was fixed previously and EEMNGCTL should also be corrected. Reported-by: Roman Hodek Signed-off-by: Todd Fujinaka

[net-next 03/17] e1000: fix data race between tx_ring->next_to_clean

2015-12-13 Thread Jeff Kirsher
From: Dmitriy Vyukov e1000_clean_tx_irq cleans buffers and sets tx_ring->next_to_clean, then e1000_xmit_frame reuses the cleaned buffers. But there are no memory barriers when buffers gets recycled, so the recycled buffers can be corrupted. Use smp_store_release to update

[net-next 01/17] e1000: make eeprom read/write scheduler friendly

2015-12-13 Thread Jeff Kirsher
From: Joern Engel Code was responsible for ~150ms scheduler latencies. Signed-off-by: Joern Engel Signed-off-by: Spencer Baugh Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher ---

[net-next 07/17] e1000: clean up the checking logic

2015-12-13 Thread Jeff Kirsher
From: Jean Sacren The checking logic needed some clean-up work, so we rewrite it by checking for break first. With that change in place, we can even move the second check for goto statement outside of the loop. As this is merely a cleanup, no functional change is involved.

[net-next 05/17] e1000: Remove checkpatch coding style errors

2015-12-13 Thread Jeff Kirsher
From: Janusz Wolak Signed-off-by: Janusz Wolak Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/e1000/e1000_hw.c | 16 ++--

[net-next 11/17] e1000: get rid of duplicate exit path

2015-12-13 Thread Jeff Kirsher
From: Jean Sacren By using goto statement, we can achieve sharing the same exit path so that code duplication could be minimized. Signed-off-by: Jean Sacren Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher

Re: [net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2015-12-13

2015-12-13 Thread David Miller
From: Jeff Kirsher Date: Sun, 13 Dec 2015 16:27:32 -0800 > This series contains updates to fm10k only. Pulled, thanks Jeff. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH net] ravb: Add disable 10base

2015-12-13 Thread Simon Horman
[Cc Florian] On Sun, Dec 13, 2015 at 08:17:48PM +0300, Sergei Shtylyov wrote: > Hello. > > On 12/13/2015 06:15 PM, Yoshihiro Kaneko wrote: > > >From: Kazuya Mizuguchi > > > >Ethernet AVB does not support 10 Mbps transfer speed. > > > >Signed-off-by: Kazuya

Re: [PATCH net-next] hv_netvsc: Fix race condition on Multi-Send Data field

2015-12-13 Thread David Miller
From: Haiyang Zhang Date: Thu, 10 Dec 2015 12:19:35 -0800 > In commit 2a04ae8acb14 ("hv_netvsc: remove locking in netvsc_send()"), the > locking for MSD (Multi-Send Data) field was removed. This could cause a > race condition between RNDIS control messages and data

Re: [PATCH ]net: sched/cls_flow.c : allow nfct-* keys work on ingress interfaces

2015-12-13 Thread Jamal Hadi Salim
Hi Igor, On 15-12-11 04:55 AM, Igor Gavrilov wrote: Improved CTTUPLE macro with code from sched/act_connmark.c, so it be able to get unNATed addresses from nf_conntrack. 1) Question: Have you tested the patch or you just cutnpasted from connmark.c? By inspection the patch looks ok

[PATCH v2 net] ravb: Remove clear unhandled interrupt

2015-12-13 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi AVB-DMAC Receive FIFO Warning interrupt is not enabled, so it is not necessary to disable the interrupt in ndo_close(). On the other hand, this patch disables the interrupt in ndo_open() to prevent the possibility that the interrupt is

[PATCH net] ravb: Add disable 10base

2015-12-13 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi Ethernet AVB does not support 10 Mbps transfer speed. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko --- This patch is based on the master branch of David Miller's

Re: [PATCH net] ravb: Add disable 10base

2015-12-13 Thread Sergei Shtylyov
Hello. On 12/13/2015 06:15 PM, Yoshihiro Kaneko wrote: From: Kazuya Mizuguchi Ethernet AVB does not support 10 Mbps transfer speed. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko ---

[PATCH net-next] ravb: Add fixed-link support

2015-12-13 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi This patch adds support of the fixed PHY. This patch is based on commit 87009814cdbb ("ucc_geth: use the new fixed PHY helpers"). Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko

Re: [PATCH net-next] ravb: ptp: fix misplaced ravb_ptp_stop() calling in ravb_probe()

2015-12-13 Thread Yoshihiro Kaneko
2015-12-09 23:20 GMT+09:00 Sergei Shtylyov : > Hello. > > On 12/8/2015 9:39 PM, Yoshihiro Kaneko wrote: > >> 'commit ("ravb: ptp: Add CONFIG mode support")' added >> a calling of ravb_ptp_stop() in a wrong place in ravb_probe(). >> >> Signed-off-by: Yoshihiro

Re: [PATCH v2 net] ravb: Remove clear unhandled interrupt

2015-12-13 Thread Sergei Shtylyov
Hello. On 12/13/2015 06:12 PM, Yoshihiro Kaneko wrote: The subject doesn't seem to reflect what the patch is doing. From: Kazuya Mizuguchi AVB-DMAC Receive FIFO Warning interrupt is not enabled, so it is not necessary to disable the interrupt in

Re: [PATCH net] bnx2x: Prevent FW assertion when using Vxlan

2015-12-13 Thread Sergei Shtylyov
Hello. On 12/13/2015 10:49 AM, Yuval Mintz wrote: FW has a rare corner case in which a fragmented packet using lots of frags would not be linearized, causing the FW to assert while trying to transmit the packet. To prevent this, we need to make sure the window of fragements containing MSS

use-after-free in pptp_connect

2015-12-13 Thread Dmitry Vyukov
Hello, The following program causes use-after-free in pptp_connect and a leak of pptp call id: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include #include #include #include #include #include int main() { int fd =

[PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-13 Thread Sergei Shtylyov
For the little-endian SH771x kernels the driver has to byte-swap the RX/TX buffers, however yet unset physcial address from the TX descriptor is used to call sh_eth_soft_swap(). Use 'skb->data' instead... Fixes: 31fcb99d9958 ("net: sh_eth: remove __flush_purge_region") Signed-off-by: Sergei

Re: [PATCH net-next] ravb: Add fixed-link support

2015-12-13 Thread Sergei Shtylyov
Hello. On 12/13/2015 06:16 PM, Yoshihiro Kaneko wrote: From: Kazuya Mizuguchi This patch adds support of the fixed PHY. This patch is based on commit 87009814cdbb ("ucc_geth: use the new fixed PHY helpers"). Signed-off-by: Kazuya Mizuguchi

Re: [PATCH net] nftables: use list_for_each_entry_safe_reverse to traversal commit_list in nf_tables_abort

2015-12-13 Thread Pablo Neira Ayuso
On Thu, Dec 10, 2015 at 12:24:21AM +0800, Xin Long wrote: > On Wed, Dec 9, 2015 at 10:03 PM, Pablo Neira Ayuso > wrote: > > On Mon, Dec 07, 2015 at 06:48:07PM +0800, Xin Long wrote: [...] > >> the right order of rollback should be: > >> 'del tab trans' -> 'del set trans'

[PATCH] sh_eth: fix descriptor access endianness

2015-12-13 Thread Sergei Shtylyov
The driver never calls cpu_to_edmac() when writing the descriptor address and edmac_to_cpu() when reading it, although it should -- fix this. Note that the frame/buffer length descriptor field accesses also need fixing but since they are both 16-bit we can't use {cpu|edmac}_to_{edmac|cpu}()...

Re: [PATCH net-next] ravb: ptp: fix misplaced ravb_ptp_stop() calling in ravb_probe()

2015-12-13 Thread Sergei Shtylyov
Hello. On 12/13/2015 06:39 PM, Yoshihiro Kaneko wrote: 'commit ("ravb: ptp: Add CONFIG mode support")' added a calling of ravb_ptp_stop() in a wrong place in ravb_probe(). Signed-off-by: Yoshihiro Kaneko Well, this patch is good to apply anyway: I thought

Re: [net-next 00/17][pull request] 1GbE Intel Wired LAN Driver Updates 2015-12-12

2015-12-13 Thread David Miller
From: Jeff Kirsher Date: Sun, 13 Dec 2015 00:31:13 -0800 > This series contains updates to e1000, e1000e and igb. Pulled, thanks Jeff. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2 0/4] Replace tty->closing

2015-12-13 Thread Peter Hurley
Greg, Would you drop these 4 patches from tty-testing please? On 11/09/2015 04:15 AM, Peter Hurley wrote: > Hi Greg, > > This series cleans up a messy and poorly documented mechanism required > at tty final close to prevent drivers from crashing after h/w shutdown. > > Without special

Re: [PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-13 Thread Rob Landley
On Sun, Dec 13, 2015 at 12:27 PM, Sergei Shtylyov wrote: > For the little-endian SH771x kernels the driver has to byte-swap the RX/TX > buffers, however yet unset physcial address from the TX descriptor is used > to call sh_eth_soft_swap(). Use 'skb->data'

[net-next 06/15] fm10k: bump driver version

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller We haven't bumped the driver version in a while despite many fixes being pulled in from the out-of-tree Sourceforge driver. Update the version to match. Signed-off-by: Jacob Keller Tested-by: Krishneil Singh

[net-next 01/15] fm10k: use ether_addr_copy to copy MAC address

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Use the ether_addr_copy function instead of copying byte-by-byte in a for-loop by hand. Reported-by: Bruce Allan Signed-off-by: Jacob Keller Tested-by: Krishneil Singh

[net-next 14/15] fm10k: cleanup overly long lines

2015-12-13 Thread Jeff Kirsher
From: Bruce Allan Signed-off-by: Bruce Allan Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/fm10k/fm10k.h | 2 +-

[net-next 02/15] fm10k: do not use CamelCase

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Avoid the use of CamelCase for some variable names that previously slipped through review. Reported-by: Bruce Allan Signed-off-by: Jacob Keller Tested-by: Krishneil Singh

[net-next 03/15] fm10k: remove unnecessary else block from if statements with return

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Improve code style by removing the unnecessary else block of an if statement which immediately returns. Signed-off-by: Jacob Keller Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher

[net-next 09/15] fm10k: Cleanup exception handling for mailbox interrupt

2015-12-13 Thread Jeff Kirsher
From: Alexander Duyck This patch addresses two issues. First is the fact that the fm10k_mbx_free_irq was assuming msix_entries was valid and that will not always be the case. As such we need to add a check for if it is NULL. Second is the fact that we weren't freeing the

[net-next 15/15] fm10k: initialize xps at driver load

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Similar to ixgbe and i40e, initialize XPS on driver load so that we can take advantage of this kernel feature. Signed-off-by: Jacob Keller Reviewed-by: Bruce Allan Tested-by: Krishneil Singh

[net-next 11/15] fm10k: whitespace cleanups

2015-12-13 Thread Jeff Kirsher
From: Bruce Allan Signed-off-by: Bruce Allan Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 4 ++--

[net-next 13/15] fm10k: cleanup namespace pollution

2015-12-13 Thread Jeff Kirsher
From: Bruce Allan Make functions that should be static. While we're at it, fix the function header comment for fm10k_tlv_attr_nest_stop(), and update the copyright header for fm10k_pf.h, fm10k_tlv.c and fm10k_tlv.h. Signed-off-by: Bruce Allan

[net-next 07/15] fm10k: conditionally compile DCB and DebugFS support

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Rather than wrapping fm10k_dcbnl.c and fm10k_debugfs.c support with #ifdef blocks, just conditionally include the .o files in the Makefile. Also, since we're modifying it, update the copyright year on the Makefile. Signed-off-by: Jacob Keller

linux-next: manual merge of the net-next tree with the pci tree

2015-12-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: include/linux/pci_ids.h between commit: a755e169031d ("PCI: Add Netronome vendor and device IDs") from the pci tree and commit: 2d1e0254ef83 ("pci_ids: add Netronome Systems vendor") from the net-next tree. I

[net-next 12/15] fm10k: use BIT() macro instead of open-coded bit-shifting

2015-12-13 Thread Jeff Kirsher
From: Bruce Allan Signed-off-by: Bruce Allan Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/fm10k/fm10k.h | 2 +-

[net-next 04/15] fm10k: remove namespace pollution of fm10k_iov_msg_data_pf

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Signed-off-by: Jacob Keller Reviewed-by: Bruce Allan Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher ---

[net-next 10/15] fm10k: do not inline fm10k_iov_select_vid()

2015-12-13 Thread Jeff Kirsher
From: Bruce Allan The function declaration does not need to be 'inline'd here. Signed-off-by: Bruce Allan Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher ---

[net-next 05/15] fm10k: consistently refer to VLANs and VLAN IDs

2015-12-13 Thread Jeff Kirsher
From: Jacob Keller Instead of using lowercase vlan, vid, or VID, always use VLAN or VLAN ID in comments when referring to VLANs. The original driver code was consistent, but recent patches have not been as consistent with this naming scheme. Signed-off-by: Jacob Keller

[net-next 08/15] fm10k: Cleanup MSI-X interrupts in case of failure

2015-12-13 Thread Jeff Kirsher
From: Alexander Duyck If the q_vector allocation fails we should free the resources associated with the MSI-X vector table. Signed-off-by: Alexander Duyck Reviewed-by: Bruce Allan Tested-by: Krishneil Singh

[net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2015-12-13

2015-12-13 Thread Jeff Kirsher
This series contains updates to fm10k only. Jacob updates the driver to use ether_addr_copy() instead of copying byte-by-byte in a for loop. Fixed up CamelCase variable names and coding style issues. Cleaned up namespace pollution of fm10k_iov_msg_data_pf(). Cleaned up, by making it consistent,

Message TO: twol...@crystal.cirrus.com has been discarded due to a filter rule

2015-12-13 Thread noreply
Your message to twol...@crystal.cirrus.com sent 2015-12-13 19:46:25 with Subject: RETURNED MAIL: SEE TRANSCRIPT FOR DETAILS has been discarded due to an attachment restriction rule. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

[PATCH v6 1/4] stmmac: create of compatible mdio bus for stmmac driver

2015-12-13 Thread Phil Reid
The DSA driver needs to be passed a reference to an mdio bus. Typically the mac is configured to use a fixed link but the mdio bus still needs to be registered so that it con configure the switch. This patch follows the same process as the altera tse ethernet driver for creation of the mdio bus.

[PATCH v6 3/4] stmmac: Fix calculations for ptp counters when clock input = 50Mhz.

2015-12-13 Thread Phil Reid
stmmac_config_sub_second_increment set the sub second increment to 20ns. Driver is configured to use the fine adjustment method where the sub second register is incremented when the acculumator incremented by the addend register wraps overflows. This accumulator is update on every ptp clk cycle.

[PATCH v6 0/4] stmmac: create of compatible mdio bus for stmacc driver

2015-12-13 Thread Phil Reid
Provide ability to specify a fixed phy in the device tree and retain the mdio bus if no phy is found. This is needed where a dsa is connected via a fixed phy and uses the mdio bus for config. Fixed ptp ref clock calculatins for the stmmac when ptp ref clock is running at <= 50Mhz. Also add device

[PATCH v6 2/4] stmmac: Correct documentation on stmmac clocks.

2015-12-13 Thread Phil Reid
devm_get_clk looks in clock-name property for matching clock. the ptp_ref_clk property is ignored. Acked-by: Rob Herring Signed-off-by: Phil Reid --- Documentation/devicetree/bindings/net/stmmac.txt | 17 - 1 file changed, 8

[PATCH v6 4/4] stmmac: socfpga: Provide dt node to config ptp clk source.

2015-12-13 Thread Phil Reid
Provides an options to use the ptp clock routed from the Altera FPGA fabric. Instead of the defalt eosc1 clock connected to the ARM HPS core. This setting affects all emacs in the core as the ptp clock is common. Acked-by: Rob Herring Signed-off-by: Phil Reid

Re: [PATCH net v2] net: Flush local routes when device changes vrf association

2015-12-13 Thread David Miller
From: David Ahern Date: Thu, 10 Dec 2015 10:25:24 -0800 > The VRF driver cycles netdevs when an interface is enslaved or released: > the down event is used to flush neighbor and route tables and the up > event (if the interface was already up) effectively moves local

Re: [PATCH net-next v2 0/3] geneve: Add support for Remote Checksum Offload

2015-12-13 Thread David Miller
From: Tom Herbert Date: Thu, 10 Dec 2015 12:34:30 -0800 > This patch set adds UDP checksum configuration via netlink and > Remote Checksum Offload for Geneve, > > v2: > - Fix issue of taking sizeof a pointer instead of the actual object > - Fix type in commi log

Re: [PATCH V2 net-next] drivers/net: fix eisa_driver probe section mismatch

2015-12-13 Thread David Miller
From: Fabian Frederick Date: Sat, 12 Dec 2015 18:24:38 +0100 > Some eisa_driver structures used __init probe functions which generates > a warning and could crash if function is called after being deleted. > > Signed-off-by: Fabian Frederick Applied, thanks. --

Re: [PATCH v2 0/4] Replace tty->closing

2015-12-13 Thread Greg Kroah-Hartman
On Sun, Dec 13, 2015 at 04:16:36PM -0800, Peter Hurley wrote: > Greg, > > Would you drop these 4 patches from tty-testing please? Now dropped. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v1 2/2] net:hns: print MAC with %pM

2015-12-13 Thread David Miller
From: Andy Shevchenko Date: Thu, 10 Dec 2015 17:23:10 +0200 > printf() has a dedicated specifier to print MAC addresses. Use it instead of > pushing each byte via stack. > > Signed-off-by: Andy Shevchenko Applied. -- To

Re: [PATCH v1 1/2] net:hns: annotate IO address space properly

2015-12-13 Thread David Miller
From: Andy Shevchenko Date: Thu, 10 Dec 2015 17:23:09 +0200 > Mark address pointer with __iomem in the IO accessors. > > Otherwise we will get a sparse complain like following > > .../hns/hns_dsaf_reg.h:991:36: warning: incorrect type in argument 1 >

[V2 PATCH 1/1] net: sctp: dynamically enable or disable pf state

2015-12-13 Thread zyjzyj2000
From: Zhu Yanjun As we all know, the value of pf_retrans >= max_retrans_path can disable pf state. The variables of pf_retrans and max_retrans_path can be changed by the user space application. Sometimes the user expects to disable pf state while the 2 variables are