Bug 230570 - src/sys/dev/xen/netback/netback_unit_tests.c:1408: pointless assert ?
Summary: src/sys/dev/xen/netback/netback_unit_tests.c:1408: pointless assert ?
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xen mailing list
Depends on:
Reported: 2018-08-12 20:17 UTC by David Binderman
Modified: 2018-08-13 09:27 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2018-08-12 20:17:41 UTC
Source code is

       } else if (n_entries == 2) {
                /* there should be two mbufs and two gnttab entries */
                XNB_ASSERT(n_entries == 2);
Comment 1 Roger Pau Monné freebsd_committer 2018-08-13 09:27:28 UTC
(In reply to David Binderman from comment #0)
Yes, looks redundant. Would you care to send a patch?