07 Sep, 2017

1 commit

  • In pxp lib, the unit of stride parameter is pixel and stride
    is not equal with width parameter of out buffer in some cases.

    In order to use latest pxp lib in old version rootfs, PXP_DEVICE_LEGACY
    macro is used to distinguish pxp drvier version. Because the
    new pxp driver define a new variable and pxp lib can know this
    through PXP_DEVICE_LEGACY, and determine if use it.

    Signed-off-by: Guoniu.Zhou
    Reviewed-by: Fancy Fang

    Guoniu.Zhou
     

12 Jul, 2017

1 commit


09 Jun, 2017

7 commits


08 Jun, 2017

2 commits


23 Feb, 2017

17 commits


01 Feb, 2017

1 commit

  • commit b1a27eac7fefff33ccf6acc919fc0725bf9815fb upstream.

    Use CXGB3_... instead of CXBG3_...

    Fixes: a85fb3383340 ("IB/cxgb3: Move user vendor structures")
    Signed-off-by: Nicolas Iooss
    Reviewed-by: Leon Romanovsky
    Acked-by: Steve Wise
    Signed-off-by: Doug Ledford
    Signed-off-by: Greg Kroah-Hartman

    Nicolas Iooss
     

12 Jan, 2017

1 commit

  • commit 2fa436b3a2a7009c11a3bc03fe0ff4c26e80fd87 upstream.

    NL80211_ATTR_MAC was used to set both the specific BSSID to be scanned
    and the random MAC address to be used when privacy is enabled. When both
    the features are enabled, both the BSSID and the local MAC address were
    getting same value causing Probe Request frames to go with unintended
    DA. Hence, this has been fixed by using a different NL80211_ATTR_BSSID
    attribute to set the specific BSSID (which was the more recent addition
    in cfg80211) for a scan.

    Backwards compatibility with old userspace software is maintained to
    some extent by allowing NL80211_ATTR_MAC to be used to set the specific
    BSSID when scanning without enabling random MAC address use.

    Scanning with random source MAC address was introduced by commit
    ad2b26abc157 ("cfg80211: allow drivers to support random MAC addresses
    for scan") and the issue was introduced with the addition of the second
    user for the same attribute in commit 818965d39177 ("cfg80211: Allow a
    scan request for a specific BSSID").

    Fixes: 818965d39177 ("cfg80211: Allow a scan request for a specific BSSID")
    Signed-off-by: Vamsi Krishna
    Signed-off-by: Jouni Malinen
    Signed-off-by: Johannes Berg
    Signed-off-by: Greg Kroah-Hartman

    Vamsi Krishna
     

07 Dec, 2016

1 commit


06 Dec, 2016

3 commits

  • Fix a wrong condition preventing the higher net device flags
    IFF_LOWER_UP etc to be defined if net/if.h is included before
    linux/if.h.

    The comment makes it clear the intention was to allow partial
    definition with either parts.

    This fixes compilation of userspace programs trying to use
    IFF_LOWER_UP, IFF_DORMANT or IFF_ECHO.

    Fixes: 4a91cb61bb99 ("uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h")
    Signed-off-by: Jonas Gorski
    Reviewed-by: Mikko Rapeli
    Signed-off-by: David S. Miller

    Jonas Gorski
     
  • File is in uapi directory but not being copied on
    make install_headers

    Fixes commit 4ec9c8fbbc22 ("netfilter: nft_log: complete
    NFTA_LOG_FLAGS attr support").

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    stephen hemminger
     
  • Fixes commit 735cffe5d800 ("net_sched: Introduce skbmod action")
    Not used by iproute2 but maybe in future.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    stephen hemminger
     

03 Dec, 2016

1 commit

  • Pull networking fixes from David Miller:

    1) Lots more phydev and probe error path leaks in various drivers by
    Johan Hovold.

    2) Fix race in packet_set_ring(), from Philip Pettersson.

    3) Use after free in dccp_invalid_packet(), from Eric Dumazet.

    4) Signnedness overflow in SO_{SND,RCV}BUFFORCE, also from Eric
    Dumazet.

    5) When tunneling between ipv4 and ipv6 we can be left with the wrong
    skb->protocol value as we enter the IPSEC engine and this causes all
    kinds of problems. Set it before the output path does any
    dst_output() calls, from Eli Cooper.

    6) bcmgenet uses wrong device struct pointer in DMA API calls, fix from
    Florian Fainelli.

    7) Various netfilter nat bug fixes from FLorian Westphal.

    8) Fix memory leak in ipvlan_link_new(), from Gao Feng.

    9) Locking fixes, particularly wrt. socket lookups, in l2tp from
    Guillaume Nault.

    10) Avoid invoking rhash teardowns in atomic context by moving netlink
    cb->done() dump completion from a worker thread. Fix from Herbert
    Xu.

    11) Buffer refcount problems in tun and macvtap on errors, from Jason
    Wang.

    12) We don't set Kconfig symbol DEFAULT_TCP_CONG properly when the user
    selects BBR. Fix from Julian Wollrath.

    13) Fix deadlock in transmit path on altera TSE driver, from Lino
    Sanfilippo.

    14) Fix unbalanced reference counting in dsa_switch_tree, from Nikita
    Yushchenko.

    15) tc_tunnel_key needs to be properly exported to userspace via uapi,
    fix from Roi Dayan.

    16) rds_tcp_init_net() doesn't unregister notifier in error path, fix
    from Sowmini Varadhan.

    17) Stale packet header pointer access after pskb_expand_head() in
    genenve driver, fix from Sabrina Dubroca.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (103 commits)
    net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
    geneve: avoid use-after-free of skb->data
    tipc: check minimum bearer MTU
    net: renesas: ravb: unintialized return value
    sh_eth: remove unchecked interrupts for RZ/A1
    net: bcmgenet: Utilize correct struct device for all DMA operations
    NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040
    cdc_ether: Fix handling connection notification
    ip6_offload: check segs for NULL in ipv6_gso_segment.
    RDS: TCP: unregister_netdevice_notifier() in error path of rds_tcp_init_net
    Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
    ipv6: Set skb->protocol properly for local output
    ipv4: Set skb->protocol properly for local output
    packet: fix race condition in packet_set_ring
    net: ethernet: altera: TSE: do not use tx queue lock in tx completion handler
    net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers
    net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks
    net: ethernet: stmmac: platform: fix outdated function header
    net: ethernet: stmmac: dwmac-meson8b: fix probe error path
    net: ethernet: stmmac: dwmac-generic: fix probe error path
    ...

    Linus Torvalds
     

02 Dec, 2016

1 commit

  • Pull input fixes from Dmitry Torokhov: "We are disabling automatic
    probing of BYD touchpads as it results in too many false positives,
    and the hardware is not terribly popular and having the protocol
    support does not result in significantly improved user experience.

    We also change keycode for KEY_DATA to avoid clashing with
    KEY_FASTREVERSE. Luckily this newish code is used by CEC framework
    that is still in staging, so it is extremely unlikely that someone has
    already started using this keycode"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: change KEY_DATA from 0x275 to 0x277
    Input: psmouse - disable automatic probing of BYD touchpads

    Linus Torvalds
     

01 Dec, 2016

1 commit


29 Nov, 2016

1 commit


20 Nov, 2016

2 commits

  • Pull KVM fixes from Radim Krčmář:
    "ARM:
    - Fix handling of the 32bit cycle counter
    - Fix cycle counter filtering

    x86:
    - Fix a race leading to double unregistering of user notifiers
    - Amend oversight in kvm_arch_set_irq that turned Hyper-V code dead
    - Use SRCU around kvm_lapic_set_vapic_addr
    - Avoid recursive flushing of asynchronous page faults
    - Do not rely on deferred update in KVM_GET_CLOCK, which fixes #GP
    - Let userspace know that KVM_GET_CLOCK is useful with master clock;
    4.9 changed the return value to better match the guest clock, but
    didn't provide means to let guests take advantage of it"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    kvm: x86: merge kvm_arch_set_irq and kvm_arch_set_irq_inatomic
    KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
    KVM: async_pf: avoid recursive flushing of work items
    kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use
    KVM: Disable irq while unregistering user notifier
    KVM: x86: do not go through vcpu in __get_kvmclock_ns
    KVM: arm64: Fix the issues when guest PMCCFILTR is configured
    arm64: KVM: pmu: Fix AArch32 cycle counter access

    Linus Torvalds
     
  • Userspace can read the exact value of kvmclock by reading the TSC
    and fetching the timekeeping parameters out of guest memory. This
    however is brittle and not necessary anymore with KVM 4.11. Provide
    a mechanism that lets userspace know if the new KVM_GET_CLOCK
    semantics are in effect, and---since we are at it---if the clock
    is stable across all VCPUs.

    Cc: Radim Krčmář
    Cc: Marcelo Tosatti
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Radim Krčmář

    Paolo Bonzini