Branch: refs/heads/master
Home:
https://github.com/jpirko/libteam
Commit: 5e445200f1441e0f217952fd308a3a714c20b65c
https://github.com/jpirko/libteam/commit/5e445200f1441e0f217952fd308a3a71...
Author: Sridhar Samudrala <sridhar.samudrala(a)intel.com>
Date: 2015-07-19 (Sun, 19 Jul 2015)
Changed paths:
M libteam/ifinfo.c
M libteam/ports.c
M libteam/team_private.h
Log Message:
-----------
Fix teamd memory corruption issues seen by missing port unlink in ifinfo_destroy()
This fixes teamd coredumps similar to these
systemd-coredump[11692]: Process 11345 (teamd) of user 0 dumped core.
Stack trace of thread 11345:
0 0x00007f7e6e1078d7 raise (libc.so.6)
1 0x00007f7e6e10953a abort (libc.so.6)
2 0x00007f7e6e14ada3 __libc_message (libc.so.6)
3 0x00007f7e6e1569f5 __libc_free (libc.so.6)
4 0x00007f7e6ed2779d link_free_data (libnl-route-3.so.200)
5 0x00007f7e6eafe6f0 nl_object_free (libnl-3.so.200)
6 0x00007f7e6f5a0df2 obj_input_newlink (libteam.so.5)
7 0x00007f7e6eafb0fe parse_cb (libnl-3.so.200)
8 0x00007f7e6ed2933c link_msg_parser (libnl-route-3.so.200)
9 0x00007f7e6eaf84c9 nl_cache_parse (libnl-3.so.200)
10 0x00007f7e6eafc99b nl_msg_parse (libnl-3.so.200)
11 0x00007f7e6f5a0fea ifinfo_event_handler (libteam.so.5)
12 0x00007f7e6eafdfcf nl_recvmsgs_report (libnl-3.so.200)
13 0x00007f7e6eafe339 nl_recvmsgs (libnl-3.so.200)
14 0x00007f7e6f59d8d0 cli_sock_event_handler (libteam.so.5)
15 0x00007f7e6f59e476 team_handle_events (libteam.so.5)
16 0x00000000004055d5 teamd_run_loop_run (teamd)
17 0x0000000000406a90 main (teamd)
18 0x00007f7e6e0f2fe0 __libc_start_main (libc.so.6)
19 0x000000000040755a _start (teamd)
Signed-off-by: Sridhar Samudrala <sridhar.samudrala(a)intel.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>