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

Fix kernel crash in dvb_net driver.

This commit is contained in:
Ron Economos 2019-03-26 02:17:13 -07:00
parent e360182847
commit e746d013ec

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,