02 Sep, 2019

2 commits

  • Pull networking fixes from David Miller:

    1) Fix some length checks during OGM processing in batman-adv, from
    Sven Eckelmann.

    2) Fix regression that caused netfilter conntrack sysctls to not be
    per-netns any more. From Florian Westphal.

    3) Use after free in netpoll, from Feng Sun.

    4) Guard destruction of pfifo_fast per-cpu qdisc stats with
    qdisc_is_percpu_stats(), from Davide Caratti. Similar bug is fixed
    in pfifo_fast_enqueue().

    5) Fix memory leak in mld_del_delrec(), from Eric Dumazet.

    6) Handle neigh events on internal ports correctly in nfp, from John
    Hurley.

    7) Clear SKB timestamp in NF flow table code so that it does not
    confuse fq scheduler. From Florian Westphal.

    8) taprio destroy can crash if it is invoked in a failure path of
    taprio_init(), because the list head isn't setup properly yet and
    the list del is unconditional. Perform the list add earlier to
    address this. From Vladimir Oltean.

    9) Make sure to reapply vlan filters on device up, in aquantia driver.
    From Dmitry Bogdanov.

    10) sgiseeq driver releases DMA memory using free_page() instead of
    dma_free_attrs(). From Christophe JAILLET.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (58 commits)
    net: seeq: Fix the function used to release some memory in an error handling path
    enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
    net: bcmgenet: use ethtool_op_get_ts_info()
    tc-testing: don't hardcode 'ip' in nsPlugin.py
    net: dsa: microchip: add KSZ8563 compatibility string
    dt-bindings: net: dsa: document additional Microchip KSZ8563 switch
    net: aquantia: fix out of memory condition on rx side
    net: aquantia: linkstate irq should be oneshot
    net: aquantia: reapply vlan filters on up
    net: aquantia: fix limit of vlan filters
    net: aquantia: fix removal of vlan 0
    net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
    taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
    taprio: Fix kernel panic in taprio_destroy
    net: dsa: microchip: fill regmap_config name
    rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]
    net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
    amd-xgbe: Fix error path in xgbe_mod_init()
    netfilter: nft_meta_bridge: Fix get NFT_META_BRI_IIFVPROTO in network byteorder
    mac80211: Correctly set noencrypt for PAE frames
    ...

    Linus Torvalds
     
  • Pull turbostat updates from Len Brown:
    "User-space turbostat (and x86_energy_perf_policy) patches.

    They are primarily bug fixes from users"

    * 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
    tools/power turbostat: update version number
    tools/power turbostat: Add support for Hygon Fam 18h (Dhyana) RAPL
    tools/power turbostat: Fix caller parameter of get_tdp_amd()
    tools/power turbostat: Fix CPU%C1 display value
    tools/power turbostat: do not enforce 1ms
    tools/power turbostat: read from pipes too
    tools/power turbostat: Add Ice Lake NNPI support
    tools/power turbostat: rename has_hsw_msrs()
    tools/power turbostat: Fix Haswell Core systems
    tools/power turbostat: add Jacobsville support
    tools/power turbostat: fix buffer overrun
    tools/power turbostat: fix file descriptor leaks
    tools/power turbostat: fix leak of file descriptor on error return path
    tools/power turbostat: Make interval calculation per thread to reduce jitter
    tools/power turbostat: remove duplicate pc10 column
    tools/power x86_energy_perf_policy: Fix argument parsing
    tools/power: Fix typo in man page
    tools/power/x86: Enable compiler optimisations and Fortify by default
    tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2

    Linus Torvalds
     

01 Sep, 2019

20 commits

  • the following tdc test fails on Fedora:

    # ./tdc.py -e 2638
    -- ns/SubPlugin.__init__
    Test 2638: Add matchall and try to get it
    -----> prepare stage *** Could not execute: "$TC qdisc add dev $DEV1 clsact"
    -----> prepare stage *** Error message: "/bin/sh: ip: command not found"
    returncode 127; expected [0]
    -----> prepare stage *** Aborting test run.

    Let nsPlugin.py use the 'IP' variable introduced with commit 92c1a19e2fb9
    ("tc-tests: added path to ip command in tdc"), so that the path to 'ip' is
    correctly resolved to the value we have in tdc_config.py.

    # ./tdc.py -e 2638
    -- ns/SubPlugin.__init__
    Test 2638: Add matchall and try to get it
    All test results:
    1..1
    ok 1 2638 - Add matchall and try to get it

    Fixes: 489ce2f42514 ("tc-testing: Restore original behaviour for namespaces in tdc")
    Reported-by: Hangbin Liu
    Signed-off-by: Davide Caratti
    Acked-by: Nicolas Dichtel
    Signed-off-by: David S. Miller

    Davide Caratti
     
  • Today is 19.08.31, at least in some parts of the world.

    Signed-off-by: Len Brown

    Len Brown
     
  • Commit 9392bd98bba760be96ee ("tools/power turbostat: Add support for AMD
    Fam 17h (Zen) RAPL") and the commit 3316f99a9f1b68c578c5 ("tools/power
    turbostat: Also read package power on AMD F17h (Zen)") add AMD Fam 17h
    RAPL support.

    Hygon Family 18h(Dhyana) support RAPL in bit 14 of CPUID 0x80000007 EDX,
    and has MSRs RAPL_PWR_UNIT/CORE_ENERGY_STAT/PKG_ENERGY_STAT. So add Hygon
    Dhyana Family 18h support for RAPL.

    Already tested on Hygon multi-node systems and it shows correct per-core
    energy usage and the total package power.

    Signed-off-by: Pu Wen
    Reviewed-by: Calvin Walton
    Signed-off-by: Len Brown

    Pu Wen
     
  • Commit 9392bd98bba760be96ee ("tools/power turbostat: Add support for AMD
    Fam 17h (Zen) RAPL") add a function get_tdp_amd(), the parameter is CPU
    family. But the rapl_probe_amd() function use wrong model parameter.
    Fix the wrong caller parameter of get_tdp_amd() to use family.

    Cc: # v5.1+
    Signed-off-by: Pu Wen
    Reviewed-by: Calvin Walton
    Signed-off-by: Len Brown

    Pu Wen
     
  • In some case C1% will be wrong value, when platform doesn't have MSR for
    C1 residency.

    For example:
    Core CPU CPU%c1
    - - 100.00
    0 0 100.00
    0 2 100.00
    1 1 100.00
    1 3 100.00

    But adding Busy% will fix this
    Core CPU Busy% CPU%c1
    - - 99.77 0.23
    0 0 99.77 0.23
    0 2 99.77 0.23
    1 1 99.77 0.23
    1 3 99.77 0.23

    This issue can be reproduced on most of the recent systems including
    Broadwell, Skylake and later.

    This is because if we don't select Busy% or Avg_MHz or Bzy_MHz then
    mperf value will not be read from MSR, so it will be 0. But this
    is required for C1% calculation when MSR for C1 residency is not present.
    Same is true for C3, C6 and C7 column selection.

    So add another define DO_BIC_READ(), which doesn't depend on user
    column selection and use for mperf, C3, C6 and C7 related counters.
    So when there is no platform support for C1 residency counters,
    we still read these counters, if the CPU has support and user selected
    display of CPU%c1.

    Signed-off-by: Srinivas Pandruvada
    Signed-off-by: Len Brown

    Srinivas Pandruvada
     
  • Turbostat works by taking a snapshot of counters, sleeping, taking another
    snapshot, calculating deltas, and printing out the table.

    The sleep time is controlled via -i option or by user sending a signal or a
    character to stdin. In the latter case, turbostat always adds 1 ms
    sleep before it reads the counters, in order to avoid larger imprecisions
    in the results in prints.

    While the 1 ms delay may be a good idea for a "dumb" user, it is a
    problem for an "aware" user. I do thousands and thousands of measurements
    over a short period of time (like 2ms), and turbostat unconditionally adds
    a 1ms to my interval, so I cannot get what I really need.

    This patch removes the unconditional 1ms sleep. This is an expert user
    tool, after all, and non-experts will unlikely ever use it in the non-fixed
    interval mode anyway, so I think it is OK to remove the 1ms delay.

    Signed-off-by: Artem Bityutskiy
    Signed-off-by: Len Brown

    Artem Bityutskiy
     
  • Commit '47936f944e78 tools/power turbostat: fix printing on input' make
    a valid fix, but it completely disabled piped stdin support, which is
    a valuable use-case. Indeed, if stdin is a pipe, turbostat won't read
    anything from it, so it becomes impossible to get turbostat output at
    user-defined moments, instead of the regular intervals.

    There is no reason why this should works for terminals, but not for
    pipes. This patch improves the situation. Instead of ignoring pipes, we
    read data from them but gracefully handle the EOF case.

    Signed-off-by: Artem Bityutskiy
    Signed-off-by: Len Brown

    Artem Bityutskiy
     
  • This enables turbostat utility on Ice Lake NNPI SoC.

    Link: https://lkml.org/lkml/2019/6/5/1034
    Signed-off-by: Rajneesh Bhardwaj
    Signed-off-by: Len Brown

    Rajneesh Bhardwaj
     
  • Perhaps if this more descriptive name had been used,
    then we wouldn't have had the HSW ULT vs HSW CORE bug,
    fixed by the previous commit.

    Signed-off-by: Len Brown

    Len Brown
     
  • turbostat: cpu0: msr offset 0x630 read failed: Input/output error

    because Haswell Core does not have C8-C10.

    Output C8-C10 only on Haswell ULT.

    Fixes: f5a4c76ad7de ("tools/power turbostat: consolidate duplicate model numbers")

    Reported-by: Prarit Bhargava
    Suggested-by: Kosuke Tatsukawa
    Signed-off-by: Len Brown

    Len Brown
     
  • Jacobsville behaves like Denverton.

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui
     
  • turbostat could be terminated by general protection fault on some latest
    hardwares which (for example) support 9 levels of C-states and show 18
    "tADDED" lines. That bloats the total output and finally causes buffer
    overrun. So let's extend the buffer to avoid this.

    Signed-off-by: Naoya Horiguchi
    Signed-off-by: Len Brown

    Naoya Horiguchi
     
  • Fix file descriptor leaks by closing fp before return.

    Addresses-Coverity-ID: 1444591 ("Resource leak")
    Addresses-Coverity-ID: 1444592 ("Resource leak")
    Fixes: 5ea7647b333f ("tools/power turbostat: Warn on bad ACPI LPIT data")
    Signed-off-by: Gustavo A. R. Silva
    Reviewed-by: Prarit Bhargava
    Signed-off-by: Len Brown

    Gustavo A. R. Silva
     
  • Currently the error return path does not close the file fp and leaks
    a file descriptor. Fix this by closing the file.

    Fixes: 5ea7647b333f ("tools/power turbostat: Warn on bad ACPI LPIT data")
    Signed-off-by: Colin Ian King
    Signed-off-by: Len Brown

    Colin Ian King
     
  • Turbostat currently normalizes TSC and other values by dividing by an
    interval. This interval is the delta between the start of one global
    (all counters on all CPUs) sampling and the start of another. However,
    this introduces a lot of jitter into the data.

    In order to reduce jitter, the interval calculation should be based on
    timestamps taken per thread and close to the start of the thread's
    sampling.

    Define a per thread time value to hold the delta between samples taken
    on the thread.

    Use the timestamp taken at the beginning of sampling to calculate the
    delta.

    Move the thread's beginning timestamp to after the CPU migration to
    avoid jitter due to the migration.

    Use the global time delta for the average time delta.

    Signed-off-by: Yazen Ghannam
    Signed-off-by: Len Brown

    Yazen Ghannam
     
  • Remove the duplicate pc10 column.

    Fixes: be0e54c4ebbf ("turbostat: Build-in "Low Power Idle" counters support")
    Reported-by: Naoya Horiguchi
    Signed-off-by: Len Brown

    Len Brown
     
  • The -w argument in x86_energy_perf_policy currently triggers an
    unconditional segfault.

    This is because the argument string reads: "+a:c:dD:E:e:f:m:M:rt:u:vw" and
    yet the argument handler expects an argument.

    When parse_optarg_string is called with a null argument, we then proceed to
    crash in strncmp, not horribly friendly.

    The man page describes -w as taking an argument, the long form
    (--hwp-window) is correctly marked as taking a required argument, and the
    code expects it.

    As such, this patch simply marks the short form (-w) as requiring an
    argument.

    Signed-off-by: Zephaniah E. Loss-Cutler-Hull
    Signed-off-by: Len Brown

    Zephaniah E. Loss-Cutler-Hull
     
  • From context, we mean EPB (Enegry Performance Bias).

    Signed-off-by: Matt Lupfer
    Signed-off-by: Len Brown

    Matt Lupfer
     
  • Compiling without optimisations is silly, especially since some
    warnings depend on the optimiser. Use -O2.

    Fortify adds warnings for unchecked I/O (among other things), which
    seems to be a good idea for user-space code. Enable that too.

    Signed-off-by: Ben Hutchings
    Signed-off-by: Len Brown

    Ben Hutchings
     
  • x86_energy_perf_policy first uses __get_cpuid() to check the maximum
    CPUID level and exits if it is too low. It then assumes that later
    calls will succeed (which I think is architecturally guaranteed). It
    also assumes that CPUID works at all (which is not guaranteed on
    x86_32).

    If optimisations are enabled, gcc warns about potentially
    uninitialized variables. Fix this by adding an exit-on-error after
    every call to __get_cpuid() instead of just checking the maximum
    level.

    Signed-off-by: Ben Hutchings
    Signed-off-by: Len Brown

    Ben Hutchings
     

28 Aug, 2019

1 commit

  • Pull networking fixes from David Miller:

    1) Use 32-bit index for tails calls in s390 bpf JIT, from Ilya
    Leoshkevich.

    2) Fix missed EPOLLOUT events in TCP, from Eric Dumazet. Same fix for
    SMC from Jason Baron.

    3) ipv6_mc_may_pull() should return 0 for malformed packets, not
    -EINVAL. From Stefano Brivio.

    4) Don't forget to unpin umem xdp pages in error path of
    xdp_umem_reg(). From Ivan Khoronzhuk.

    5) Fix sta object leak in mac80211, from Johannes Berg.

    6) Fix regression by not configuring PHYLINK on CPU port of bcm_sf2
    switches. From Florian Fainelli.

    7) Revert DMA sync removal from r8169 which was causing regressions on
    some MIPS Loongson platforms. From Heiner Kallweit.

    8) Use after free in flow dissector, from Jakub Sitnicki.

    9) Fix NULL derefs of net devices during ICMP processing across
    collect_md tunnels, from Hangbin Liu.

    10) proto_register() memory leaks, from Zhang Lin.

    11) Set NLM_F_MULTI flag in multipart netlink messages consistently,
    from John Fastabend.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (66 commits)
    r8152: Set memory to all 0xFFs on failed reg reads
    openvswitch: Fix conntrack cache with timeout
    ipv4: mpls: fix mpls_xmit for iptunnel
    nexthop: Fix nexthop_num_path for blackhole nexthops
    net: rds: add service level support in rds-info
    net: route dump netlink NLM_F_MULTI flag missing
    s390/qeth: reject oversized SNMP requests
    sock: fix potential memory leak in proto_register()
    MAINTAINERS: Add phylink keyword to SFF/SFP/SFP+ MODULE SUPPORT
    xfrm/xfrm_policy: fix dst dev null pointer dereference in collect_md mode
    ipv4/icmp: fix rt dst dev null pointer dereference
    openvswitch: Fix log message in ovs conntrack
    bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
    bpf: fix use after free in prog symbol exposure
    bpf: fix precision tracking in presence of bpf2bpf calls
    flow_dissector: Fix potential use-after-free on BPF_PROG_DETACH
    Revert "r8169: remove not needed call to dma_sync_single_for_device"
    ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idev
    net/ncsi: Fix the payload copying for the request coming from Netlink
    qed: Add cleanup in qed_slowpath_start()
    ...

    Linus Torvalds
     

25 Aug, 2019

1 commit

  • Pull Hyper-V fixes from Sasha Levin:

    - Fix for panics and network failures on PAE guests by Dexuan Cui.

    - Fix of a memory leak (and related cleanups) in the hyper-v keyboard
    driver by Dexuan Cui.

    - Code cleanups for hyper-v clocksource driver during the merge window
    by Dexuan Cui.

    - Fix for a false positive warning in the userspace hyper-v KVP store
    by Vitaly Kuznetsov.

    * tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
    Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
    Tools: hv: kvp: eliminate 'may be used uninitialized' warning
    Input: hyperv-keyboard: Use in-place iterator API in the channel callback
    Drivers: hv: vmbus: Remove the unused "tsc_page" from struct hv_context

    Linus Torvalds
     

24 Aug, 2019

1 commit

  • Daniel Borkmann says:

    ====================
    pull-request: bpf 2019-08-24

    The following pull-request contains BPF updates for your *net* tree.

    The main changes are:

    1) Fix verifier precision tracking with BPF-to-BPF calls, from Alexei.

    2) Fix a use-after-free in prog symbol exposure, from Daniel.

    3) Several s390x JIT fixes plus BE related fixes in BPF kselftests, from Ilya.

    4) Fix memory leak by unpinning XDP umem pages in error path, from Ivan.

    5) Fix a potential use-after-free on flow dissector detach, from Jakub.

    6) Fix bpftool to close prog fd after showing metadata, from Quentin.

    7) BPF kselftest config and TEST_PROGS_EXTENDED fixes, from Anders.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     

22 Aug, 2019

2 commits

  • Pull KVM fixes from Paolo Bonzini:
    "A couple bugfixes, and mostly selftests changes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    selftests/kvm: make platform_info_test pass on AMD
    Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"
    selftests: kvm: fix state save/load on processors without XSAVE
    selftests: kvm: fix vmx_set_nested_state_test
    selftests: kvm: provide common function to enable eVMCS
    selftests: kvm: do not try running the VM in vmx_set_nested_state_test
    KVM: x86: svm: remove redundant assignment of var new_entry
    MAINTAINERS: add KVM x86 reviewers
    MAINTAINERS: change list for KVM/s390
    kvm: x86: skip populating logical dest map if apic is not sw enabled

    Linus Torvalds
     
  • test_msr_platform_info_disabled() generates EXIT_SHUTDOWN but VMCB state
    is undefined after that so an attempt to launch this guest again from
    test_msr_platform_info_enabled() fails. Reorder the tests to make test
    pass.

    Signed-off-by: Vitaly Kuznetsov
    Signed-off-by: Paolo Bonzini

    Vitaly Kuznetsov
     

21 Aug, 2019

5 commits

  • When ./test_xdp_vlan_mode_generic.sh runs it complains that it can't
    find file test_xdp_vlan.sh.

    # selftests: bpf: test_xdp_vlan_mode_generic.sh
    # ./test_xdp_vlan_mode_generic.sh: line 9: ./test_xdp_vlan.sh: No such
    file or directory

    Rework so that test_xdp_vlan.sh gets installed, added to the variable
    TEST_PROGS_EXTENDED.

    Fixes: d35661fcf95d ("selftests/bpf: add wrapper scripts for test_xdp_vlan.sh")
    Signed-off-by: Anders Roxell
    Acked-by: Jesper Dangaard Brouer
    Signed-off-by: Daniel Borkmann

    Anders Roxell
     
  • When running test_kmod.sh the following shows up

    # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory
    cannot: stat_/proc/sys/net/core/bpf_jit_enable #
    # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory
    cannot: stat_/proc/sys/net/core/bpf_jit_harden #

    Rework to enable CONFIG_BPF_JIT to solve "No such file or directory"

    Signed-off-by: Anders Roxell
    Signed-off-by: Daniel Borkmann

    Anders Roxell
     
  • test_btf_dump fails when run with O=, because it needs to access source
    files and assumes they live in ./progs/, which is not the case in this
    scenario.

    Fix by instructing kselftest to copy btf_dump_test_case_*.c files to the
    test directory. Since kselftest does not preserve directory structure,
    adjust the test to look in ./progs/ and then in ./.

    Signed-off-by: Ilya Leoshkevich
    Signed-off-by: Daniel Borkmann

    Ilya Leoshkevich
     
  • test_cgroup_storage fails on s390 with an assertion failure: packets are
    dropped when they shouldn't. The problem is that BPF_DW packet count is
    accessed as BPF_W with an offset of 0, which is not correct on
    big-endian machines.

    Since the point of this test is not to verify narrow loads/stores,
    simply use BPF_DW when working with packet counts.

    Fixes: 68cfa3ac6b8d ("selftests/bpf: add a cgroup storage test")
    Fixes: 919646d2a3a9 ("selftests/bpf: extend the storage test to test per-cpu cgroup storage")
    Signed-off-by: Ilya Leoshkevich
    Signed-off-by: Daniel Borkmann

    Ilya Leoshkevich
     
  • state_test and smm_test are failing on older processors that do not
    have xcr0. This is because on those processor KVM does provide
    support for KVM_GET/SET_XSAVE (to avoid having to rely on the older
    KVM_GET/SET_FPU) but not for KVM_GET/SET_XCRS.

    Signed-off-by: Paolo Bonzini

    Paolo Bonzini
     

20 Aug, 2019

2 commits

  • When building hv_kvp_daemon GCC-8.3 complains:

    hv_kvp_daemon.c: In function ‘kvp_get_ip_info.constprop’:
    hv_kvp_daemon.c:812:30: warning: ‘ip_buffer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    struct hv_kvp_ipaddr_value *ip_buffer;

    this seems to be a false positive: we only use ip_buffer when
    op == KVP_OP_GET_IP_INFO and it is only unset when op == KVP_OP_ENUMERATE.

    Silence the warning by initializing ip_buffer to NULL.

    Signed-off-by: Vitaly Kuznetsov
    Signed-off-by: Sasha Levin

    Vitaly Kuznetsov
     
  • Pull networking fixes from David Miller:

    1) Fix jmp to 1st instruction in x64 JIT, from Alexei Starovoitov.

    2) Severl kTLS fixes in mlx5 driver, from Tariq Toukan.

    3) Fix severe performance regression due to lack of SKB coalescing of
    fragments during local delivery, from Guillaume Nault.

    4) Error path memory leak in sch_taprio, from Ivan Khoronzhuk.

    5) Fix batched events in skbedit packet action, from Roman Mashak.

    6) Propagate VLAN TX offload to hw_enc_features in bond and team
    drivers, from Yue Haibing.

    7) RXRPC local endpoint refcounting fix and read after free in
    rxrpc_queue_local(), from David Howells.

    8) Fix endian bug in ibmveth multicast list handling, from Thomas
    Falcon.

    9) Oops, make nlmsg_parse() wrap around the correct function,
    __nlmsg_parse not __nla_parse(). Fix from David Ahern.

    10) Memleak in sctp_scend_reset_streams(), fro Zheng Bin.

    11) Fix memory leak in cxgb4, from Wenwen Wang.

    12) Yet another race in AF_PACKET, from Eric Dumazet.

    13) Fix false detection of retransmit failures in tipc, from Tuong
    Lien.

    14) Use after free in ravb_tstamp_skb, from Tho Vu.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (101 commits)
    ravb: Fix use-after-free ravb_tstamp_skb
    netfilter: nf_tables: map basechain priority to hardware priority
    net: sched: use major priority number as hardware priority
    wimax/i2400m: fix a memory leak bug
    net: cavium: fix driver name
    ibmvnic: Unmap DMA address of TX descriptor buffers after use
    bnxt_en: Fix to include flow direction in L2 key
    bnxt_en: Use correct src_fid to determine direction of the flow
    bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command
    bnxt_en: Fix handling FRAG_ERR when NVM_INSTALL_UPDATE cmd fails
    bnxt_en: Improve RX doorbell sequence.
    bnxt_en: Fix VNIC clearing logic for 57500 chips.
    net: kalmia: fix memory leaks
    cx82310_eth: fix a memory leak bug
    bnx2x: Fix VF's VLAN reconfiguration in reload.
    Bluetooth: Add debug setting for changing minimum encryption key size
    tipc: fix false detection of retransmit failures
    lan78xx: Fix memory leaks
    MAINTAINERS: r8169: Update path to the driver
    MAINTAINERS: PHY LIBRARY: Update files in the record
    ...

    Linus Torvalds
     

18 Aug, 2019

4 commits

  • Pull Hyper-V fixes from Sasha Levin:

    - A few fixes for the userspace hyper-v tools from Adrian Vladu.

    - A fix for the hyper-v MAINTAINERs entry from Lan Tianyu.

    - Fix for SPDX license identifier in the userspace tools from Nishad
    Kamdar.

    * tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
    MAINTAINERS: Fix Hyperv vIOMMU driver file name
    tools: hv: Use the correct style for SPDX License Identifier
    tools: hv: fix typos in toolchain
    tools: hv: fix KVP and VSS daemons exit code
    tools: hv: fixed Python pep8/flake8 warnings for lsvmbus

    Linus Torvalds
     
  • Fix typos in the HyperV toolchain.

    Signed-off-by: Adrian Vladu

    Cc: "K. Y. Srinivasan"
    Cc: Haiyang Zhang
    Cc: Stephen Hemminger
    Cc: Sasha Levin
    Cc: Alessandro Pilotti
    Signed-off-by: Sasha Levin

    Adrian Vladu
     
  • HyperV KVP and VSS daemons should exit with 0 when the '--help'
    or '-h' flags are used.

    Signed-off-by: Adrian Vladu

    Cc: "K. Y. Srinivasan"
    Cc: Haiyang Zhang
    Cc: Stephen Hemminger
    Cc: Sasha Levin
    Cc: Alessandro Pilotti
    Signed-off-by: Sasha Levin

    Adrian Vladu
     
  • Fixed pep8/flake8 python style code for lsvmbus tool.

    The TAB indentation was on purpose ignored (pep8 rule W191) to make
    sure the code is complying with the Linux code guideline.
    The following command doe not show any warnings now:
    pep8 --ignore=W191 lsvmbus
    flake8 --ignore=W191 lsvmbus

    Signed-off-by: Adrian Vladu

    Cc: "K. Y. Srinivasan"
    Cc: Haiyang Zhang
    Cc: Stephen Hemminger
    Cc: Sasha Levin
    Cc: Dexuan Cui
    Cc: Alessandro Pilotti
    Signed-off-by: Sasha Levin

    Adrian Vladu
     

16 Aug, 2019

2 commits

  • When showing metadata about a single program by invoking
    "bpftool prog show PROG", the file descriptor referring to the program
    is not closed before returning from the function. Let's close it.

    Fixes: 71bb428fe2c1 ("tools: bpf: add bpftool")
    Signed-off-by: Quentin Monnet
    Reviewed-by: Jakub Kicinski
    Acked-by: Andrii Nakryiko
    Signed-off-by: Alexei Starovoitov

    Quentin Monnet
     
  • Pablo Neira Ayuso says:

    ====================
    Netfilter fixes for net

    This patchset contains Netfilter fixes for net:

    1) Extend selftest to cover flowtable with ipsec, from Florian Westphal.

    2) Fix interaction of ipsec with flowtable, also from Florian.

    3) User-after-free with bound set to rule that fails to load.

    4) Adjust state and timeout for flows that expire.

    5) Timeout update race with flows in teardown state.

    6) Ensure conntrack id hash calculation use invariants as input,
    from Dirk Morris.

    7) Do not push flows into flowtable for TCP fin/rst packets.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller