Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236587
b: refs/heads/master
c: 3716522
h: refs/heads/master
i:
  236585: 18db82c
  236583: f73c180
v: v3
  • Loading branch information
Hans Schillstrom authored and Simon Horman committed Nov 25, 2010
1 parent 7a81463 commit 73170ab
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ce144f249f3f21a095a093d5d1ebd845177858da
refs/heads/master: 3716522653a79b724b02ee911f1b60c41932f847
3 changes: 3 additions & 0 deletions trunk/net/netfilter/ipvs/ip_vs_pe_sip.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ ip_vs_sip_fill_param(struct ip_vs_conn_param *p, struct sk_buff *skb)
struct ip_vs_iphdr iph;
unsigned int dataoff, datalen, matchoff, matchlen;
const char *dptr;
int retc;

ip_vs_fill_iphdr(p->af, skb_network_header(skb), &iph);

Expand All @@ -83,6 +84,8 @@ ip_vs_sip_fill_param(struct ip_vs_conn_param *p, struct sk_buff *skb)
if (dataoff >= skb->len)
return -EINVAL;

if ((retc=skb_linearize(skb)) < 0)
return retc;
dptr = skb->data + dataoff;
datalen = skb->len - dataoff;

Expand Down

0 comments on commit 73170ab

Please sign in to comment.