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
1 changed files with 1 additions and 0 deletions

View File

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