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/lec.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/lec.c')
| -rw-r--r-- | net/atm/lec.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/net/atm/lec.c b/net/atm/lec.c index 5a95fcf6f9b6..d7f5cf5b7594 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c @@ -182,9 +182,8 @@ lec_send(struct atm_vcc *vcc, struct sk_buff *skb)  	struct net_device *dev = skb->dev;  	ATM_SKB(skb)->vcc = vcc; -	ATM_SKB(skb)->atm_options = vcc->atm_options; +	atm_account_tx(vcc, skb); -	refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc);  	if (vcc->send(vcc, skb) < 0) {  		dev->stats.tx_dropped++;  		return; | 
