diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index bac36546e0bf..0d7f570b9a54 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
| @@ -860,7 +860,7 @@ static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb) | |||
| 860 | /* Copy the data if there is no space for the header or if it's | 860 | /* Copy the data if there is no space for the header or if it's |
| 861 | * read-only. | 861 | * read-only. |
| 862 | */ | 862 | */ |
| 863 | if (skb_cow(skb, sizeof(*ph) + dev->hard_header_len)) | 863 | if (skb_cow_head(skb, sizeof(*ph) + dev->hard_header_len)) |
| 864 | goto abort; | 864 | goto abort; |
| 865 | 865 | ||
| 866 | __skb_push(skb, sizeof(*ph)); | 866 | __skb_push(skb, sizeof(*ph)); |
