diff options
| author | maxv <maxv@NetBSD.org> | 2018-01-19 15:04:29 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2018-01-19 15:04:29 +0000 |
| commit | fd44ad84e18def31e0414a7e30ecda36cb8ce3f1 (patch) | |
| tree | 788d441e5ac00aae52faa96697b39187d446e562 /sys/dev/raidframe | |
| parent | 18b1d5044ebfdf6f837edec432e41b67ef5acead (diff) | |
Several changes:
* Declare TRIM_LABEL as a function.
* In mpls_unlabel_inet, copy the label locally. It's not incorrect to
keep a pointer on the mbuf, but it's bug-friendly.
* In mpls_label_inetX, fix the length check. Meanwhile add an XXX: we
just want to make sure that m_copydata won't fail, but if we were
guaranteed that m has M_PKTHDR set, we could simply check the length
against m->m_pkthdr.len.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
