diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-21 07:13:42 +0900 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-21 07:13:42 +0900 | 
| commit | d8894a08d91e230c5af9eed3de80114c5aaa3ccf (patch) | |
| tree | d7cf7cb1bc5bc85a5c0f00dcae0f624c1212d67d /net/atm/mpc.c | |
| parent | 81e97f01371f4e1701feeafe484665112cd9ddc2 (diff) | |
| parent | 9887cba19978a5f288100ef90a37684cc8d5e0a6 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull networking fixes from David Miller:
 1) Fix crash on bpf_prog_load() errors, from Daniel Borkmann.
 2) Fix ATM VCC memory accounting, from David Woodhouse.
 3) fib6_info objects need RCU freeing, from Eric Dumazet.
 4) Fix SO_BINDTODEVICE handling for TCP sockets, from David Ahern.
 5) Fix clobbered error code in enic_open() failure path, from
    Govindarajulu Varadarajan.
 6) Propagate dev_get_valid_name() error returns properly, from Li
    RongQing.
 7) Fix suspend/resume in davinci_emac driver, from Bartosz Golaszewski.
 8) Various act_ife fixes (recursive locking, IDR leaks, etc.) from
    Davide Caratti.
 9) Fix buggy checksum handling in sungem driver, from Eric Dumazet.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (40 commits)
  ip: limit use of gso_size to udp
  stmmac: fix DMA channel hang in half-duplex mode
  net: stmmac: socfpga: add additional ocp reset line for Stratix10
  net: sungem: fix rx checksum support
  bpfilter: ignore binary files
  bpfilter: fix build error
  net/usb/drivers: Remove useless hrtimer_active check
  net/sched: act_ife: preserve the action control in case of error
  net/sched: act_ife: fix recursive lock and idr leak
  net: ethernet: fix suspend/resume in davinci_emac
  net: propagate dev_get_valid_name return code
  enic: do not overwrite error code
  net/tcp: Fix socket lookups with SO_BINDTODEVICE
  ptp: replace getnstimeofday64() with ktime_get_real_ts64()
  net/ipv6: respect rcu grace period before freeing fib6_info
  net: net_failover: fix typo in net_failover_slave_register()
  ipvlan: use ETH_MAX_MTU as max mtu
  net: hamradio: use eth_broadcast_addr
  enic: initialize enic->rfs_h.lock in enic_probe
  MAINTAINERS: Add Sam as the maintainer for NCSI
  ...
Diffstat (limited to 'net/atm/mpc.c')
| -rw-r--r-- | net/atm/mpc.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/net/atm/mpc.c b/net/atm/mpc.c index 75620c2f2617..24b53c4c39c6 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c @@ -555,8 +555,7 @@ static int send_via_shortcut(struct sk_buff *skb, struct mpoa_client *mpc)  					sizeof(struct llc_snap_hdr));  	} -	refcount_add(skb->truesize, &sk_atm(entry->shortcut)->sk_wmem_alloc); -	ATM_SKB(skb)->atm_options = entry->shortcut->atm_options; +	atm_account_tx(entry->shortcut, skb);  	entry->shortcut->send(entry->shortcut, skb);  	entry->packets_fwded++;  	mpc->in_ops->put(entry); | 
