net/core/ip_masq_app.c
static struct sk_buff * skb_replace(struct sk_buff *skb, int pri, char *o_buf, int o_len, char *n_buf, int n_len)
{
int maxsize, diff, o_offset;
struct sk_buff *n_skb;
int offset;
- maxsize = skb->truesize - sizeof(struct sk_buff);
+ maxsize = skb->truesize;
diff = n_len - o_len;
o_offset = o_buf - (char*) skb->data;
Alexey Kuznetsov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu