Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 411
b: refs/heads/master
c: af19136
h: refs/heads/master
i:
  409: c27598b
  407: 11845c1
v: v3
  • Loading branch information
Ben Greear authored and David S. Miller committed Apr 25, 2005
1 parent a2613cb commit a4800e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db7530797992bb2be703f9f3cc69b1a578f812f8
refs/heads/master: af191367a752625b9f05a25a9a76c727b9b17cab
13 changes: 13 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,19 @@ int __skb_linearize(struct sk_buff *skb, int gfp_mask)
* A negative errno code is returned on a failure. A success does not
* guarantee the frame will be transmitted as it may be dropped due
* to congestion or traffic shaping.
*
* -----------------------------------------------------------------------------------
* I notice this method can also return errors from the queue disciplines,
* including NET_XMIT_DROP, which is a positive value. So, errors can also
* be positive.
*
* Regardless of the return value, the skb is consumed, so it is currently
* difficult to retry a send to this method. (You can bump the ref count
* before sending to hold a reference for retry if you are careful.)
*
* When calling this method, interrupts MUST be enabled. This is because
* the BH enable code must have IRQs enabled so that it will not deadlock.
* --BLG
*/

int dev_queue_xmit(struct sk_buff *skb)
Expand Down

0 comments on commit a4800e1

Please sign in to comment.