dect
/
libnl
Archived
13
0
Fork 0
netlink Library with DECT support
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Justin Mayfield b62e019afa single nexthop flags bug
I ran into a bug today related to how Linux handles a route's nexthop
flags when there is just one nexthop.  Namely Linux expects the flags
to be OR'd into the rtm_flags field when there is only one nexthop and
so rtnl_route_build_msg needs to check the number of nexthops and
store the nexthops flags into this field prior to calling
nlmsg_append(...&rtmsg).

Conversely the rtnl_route_parse function needs to pull these lower
0xff bits when a single nexthop is detected.

Attached is my patch.  I don't like the slight duplication of doing
the rtnl_route_get_nnexthops check twice but it seemed to be the least
turmoil of any solution I thought of.
2012-08-29 12:27:06 +02:00
doc doc: documentation restructuring 2012-05-10 12:03:59 +02:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include Fix build warning after const char ** convert 2012-08-29 12:05:51 +02:00
lib single nexthop flags bug 2012-08-29 12:27:06 +02:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python Fixed memory leak in Cache destructor 2012-06-08 22:26:35 +06:00
src nl_cli_route_parse_table fixed typo in code 2012-08-28 18:53:29 +06:00
tests genl: modify genl_ctrl_resolve and friends to allow for module auto-loading 2012-06-03 13:52:16 +02:00
.gitignore 3.1 release 2011-08-11 14:30:24 +02:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
Makefile.am tests: Convert tests/Makefile to use automake 2012-04-21 10:34:43 +02:00
autogen.sh Move to automake-based build 2009-06-23 01:24:51 +02:00
configure.in libnl 3.2.11 2012-06-13 13:49:52 +02:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00