aboutsummaryrefslogtreecommitdiffstats
path: root/brctl/brctl.h
diff options
context:
space:
mode:
authorshemminger <shemminger>2003-05-09 18:42:03 +0000
committershemminger <shemminger>2003-05-09 18:42:03 +0000
commit294ee034008c7db57053ebdd4be11cc81c4e511b (patch)
treeeb4801cbb8de04d58ff2a25b9fa6a67c06ec55c6 /brctl/brctl.h
parent284d907d6da3bd1cfca0bbc64a47f18cb56191dd (diff)
downloadandroid_external_brctl-294ee034008c7db57053ebdd4be11cc81c4e511b.tar.gz
android_external_brctl-294ee034008c7db57053ebdd4be11cc81c4e511b.tar.bz2
android_external_brctl-294ee034008c7db57053ebdd4be11cc81c4e511b.zip
From: John Naylon <jbpn@cambridgebroadband.com>
Please find attached a patch which fixes a minor bug in libbridge. This only affects long-running processes that may call br_refresh() multiple times, i.e. it doesn't affect brctl but may affect brctld, although I have not seen this myself (I discovered the bug while working on another process that links against libbridge). Basically, if you call br_refresh() when there are one or more bridges up, take all bridges down and call br_refresh() again, and finally call br_refresh() once more, your process will probably seg fault because bridge_list is not NULL, but points at previously-free()d memory on the third call.
Diffstat (limited to 'brctl/brctl.h')
0 files changed, 0 insertions, 0 deletions