summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-05 13:45:13 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-10 00:28:03 +0200
commit313b037cf054ec908de92fb4c085403ffd7420d4 (patch)
tree7b7839d50a7d069bc825f58d8f8ad5f2e9a1ad0e /drivers/connector
parentdrivers/net/ethernet/broadcom/cnic.c: remove invalid reference to list iterat... (diff)
downloadlinux-313b037cf054ec908de92fb4c085403ffd7420d4.tar.xz
linux-313b037cf054ec908de92fb4c085403ffd7420d4.zip
gianfar: fix potential sk_wmem_alloc imbalance
commit db83d136d7f753 (gianfar: Fix missing sock reference when processing TX time stamps) added a potential sk_wmem_alloc imbalance If the new skb has a different truesize than old one, we can get a negative sk_wmem_alloc once new skb is orphaned at TX completion. Now we no longer early orphan skbs in dev_hard_start_xmit(), this probably can lead to fatal bugs. Signed-off-by: Eric Dumazet <edumazet@google.com> Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Manfred Rudigier <manfred.rudigier@omicron.at> Cc: Claudiu Manoil <claudiu.manoil@freescale.com> Cc: Jiajun Wu <b06378@freescale.com> Cc: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions