diff options
| author | Eric Dumazet <[email protected]> | 2012-07-05 11:45:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-07-09 15:28:03 -0700 |
| commit | 313b037cf054ec908de92fb4c085403ffd7420d4 (patch) | |
| tree | 7b7839d50a7d069bc825f58d8f8ad5f2e9a1ad0e /lib/pm-notifier-error-inject.c | |
| parent | 022f09784b85396b4ceba954ce28e50de4882281 (diff) | |
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 <[email protected]>
Tested-by: Paul Gortmaker <[email protected]>
Cc: Manfred Rudigier <[email protected]>
Cc: Claudiu Manoil <[email protected]>
Cc: Jiajun Wu <[email protected]>
Cc: Andy Fleming <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions