Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30424
b: refs/heads/master
c: f72b948
h: refs/heads/master
v: v3
  • Loading branch information
Phil Oester authored and David S. Miller committed Jun 26, 2006
1 parent 5fbcb52 commit a1a96da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 6048126440dcb3ba01316f961465c0ff5a255dd1
refs/heads/master: f72b948dcbb8558d639214536c2ace1b0760f41d
5 changes: 4 additions & 1 deletion trunk/net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,12 +1739,15 @@ unsigned int skb_find_text(struct sk_buff *skb, unsigned int from,
unsigned int to, struct ts_config *config,
struct ts_state *state)
{
unsigned int ret;

config->get_next_block = skb_ts_get_next_block;
config->finish = skb_ts_finish;

skb_prepare_seq_read(skb, from, to, TS_SKB_CB(state));

return textsearch_find(config, state);
ret = textsearch_find(config, state);
return (ret <= to - from ? ret : UINT_MAX);
}

/**
Expand Down

0 comments on commit a1a96da

Please sign in to comment.