1 This is copy and paste from the original driver. As skb_reserve() is
2 also called within korina_alloc_ring() when initially allocating the
3 receive descriptors, the same should be done when allocating new space
4 after passing an skb to upper layers.
6 Signed-off-by: Phil Sutter <n0-1@freewrt.org>
8 drivers/net/korina.c | 3 +++
9 1 files changed, 3 insertions(+), 0 deletions(-)
11 --- a/drivers/net/korina.c
12 +++ b/drivers/net/korina.c
13 @@ -415,6 +415,9 @@ static int korina_rx(struct net_device *
14 if (devcs & ETH_RX_MP)
15 dev->stats.multicast++;
18 + skb_reserve(skb_new, 2);
20 lp->rx_skb[lp->rx_next_done] = skb_new;