Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107733
b: refs/heads/master
c: cc6533e
h: refs/heads/master
i:
  107731: b67824d
v: v3
  • Loading branch information
David S. Miller committed Aug 5, 2008
1 parent 9cf2edb commit b0f2338
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c27f339af90bb874a7a9c680b17abfd32d4a727b
refs/heads/master: cc6533e98a7f3cb7fce9d740da49195c7aa523a4
3 changes: 0 additions & 3 deletions trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ struct wireless_dev;
#define NET_XMIT_DROP 1 /* skb dropped */
#define NET_XMIT_CN 2 /* congestion notification */
#define NET_XMIT_POLICED 3 /* skb is shot by police */
#define NET_XMIT_BYPASS 4 /* packet does not leave via dequeue;
(TC use only - dev_queue_xmit
returns this as NET_XMIT_SUCCESS) */
#define NET_XMIT_MASK 0xFFFF /* qdisc flags in net/sch_generic.h */

/* Backlog congestion levels */
Expand Down
12 changes: 1 addition & 11 deletions trunk/include/net/dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,7 @@ static inline int dst_output(struct sk_buff *skb)
/* Input packet from network to transport. */
static inline int dst_input(struct sk_buff *skb)
{
int err;

for (;;) {
err = skb->dst->input(skb);

if (likely(err == 0))
return err;
/* Oh, Jamal... Seems, I will not forgive you this mess. :-) */
if (unlikely(err != NET_XMIT_BYPASS))
return err;
}
return skb->dst->input(skb);
}

static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie)
Expand Down

0 comments on commit b0f2338

Please sign in to comment.