Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171163
b: refs/heads/master
c: 6a2a2d6
h: refs/heads/master
i:
  171161: 8b12979
  171159: 5b93026
v: v3
  • Loading branch information
Gilad Ben-Yossef authored and David S. Miller committed Nov 5, 2009
1 parent 6a5fa1f commit a49828f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 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: 05eaade2782fb0c90d3034fd7a7d5a16266182bb
refs/heads/master: 6a2a2d6bf8581216e08be15fcb563cfd6c430e1e
2 changes: 1 addition & 1 deletion trunk/include/net/dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ dst_metric(const struct dst_entry *dst, int metric)
static inline u32
dst_feature(const struct dst_entry *dst, u32 feature)
{
return dst_metric(dst, RTAX_FEATURES) & feature;
return (dst ? dst_metric(dst, RTAX_FEATURES) & feature : 0);
}

static inline u32 dst_mtu(const struct dst_entry *dst)
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -3704,8 +3704,6 @@ void tcp_parse_options(struct sk_buff *skb, struct tcp_options_received *opt_rx,
struct tcphdr *th = tcp_hdr(skb);
int length = (th->doff * 4) - sizeof(struct tcphdr);

BUG_ON(!estab && !dst);

ptr = (unsigned char *)(th + 1);
opt_rx->saw_tstamp = 0;

Expand Down

0 comments on commit a49828f

Please sign in to comment.