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:
rjkm 2019-04-09 22:35:20 +02:00 committed by GitHub
commit 040a1c58b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,