generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.35 / 250-pppoe_header_pad.patch
1 --- a/drivers/net/pppoe.c
2 +++ b/drivers/net/pppoe.c
3 @@ -862,7 +862,7 @@ static int pppoe_sendmsg(struct kiocb *i
4 goto end;
5
6
7 - skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32,
8 + skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32 + NET_SKB_PAD,
9 0, GFP_KERNEL);
10 if (!skb) {
11 error = -ENOMEM;
12 @@ -870,7 +870,7 @@ static int pppoe_sendmsg(struct kiocb *i
13 }
14
15 /* Reserve space for headers. */
16 - skb_reserve(skb, dev->hard_header_len);
17 + skb_reserve(skb, dev->hard_header_len + NET_SKB_PAD);
18 skb_reset_network_header(skb);
19
20 skb->dev = dev;
This page took 0.052274 seconds and 5 git commands to generate.