1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

Merge pull request #35 from drmpeg/fix-dvbnet

Fix kernel crash in dvb_net driver.
This commit is contained in:
Ralph Metzler 2019-08-05 16:10:53 +02:00
parent b86ea4524f
commit a153bfd7b2

View File

@ -783,6 +783,7 @@ static void dvb_net_ule(struct net_device *dev, const u8 *buf, size_t buf_len)
int ret; int ret;
struct dvb_net_ule_handle h = { struct dvb_net_ule_handle h = {
.dev = dev, .dev = dev,
.priv = netdev_priv(dev),
.buf = buf, .buf = buf,
.buf_len = buf_len, .buf_len = buf_len,
.skipped = 0L, .skipped = 0L,