diff options
| author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-04-02 06:42:34 +0000 |
|---|---|---|
| committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-04-02 06:47:28 +0000 |
| commit | 66671ae589c3c605c9ededa8980ce3fc4b27e642 (patch) | |
| tree | a0516e2f89e92dbe03d47ec33ebf17960e3dc227 /sys/dev/netmap/netmap.c | |
| parent | f79bd71def7a03b3a1b043cae7b908b36a05f41c (diff) | |
Diffstat (limited to 'sys/dev/netmap/netmap.c')
| -rw-r--r-- | sys/dev/netmap/netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c index 18de5ef205eb..a9ddb5fb5728 100644 --- a/sys/dev/netmap/netmap.c +++ b/sys/dev/netmap/netmap.c @@ -2412,7 +2412,7 @@ netmap_compute_buf_len(struct netmap_priv_d *priv) maxframe = mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; if (maxframe < target) { - target = kring->offset_gap; + target = maxframe; } } |
