netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Netdevice reference leak in af_ax25.c ??
@ 2005-09-01 18:41 Ben Greear
  2005-09-01 18:56 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Greear @ 2005-09-01 18:41 UTC (permalink / raw)
  To: linux-hams, ralf; +Cc: netdev


I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c  (line 613 or so)
leaks a reference to a net device.  It does a dev_get_by_name,
which holds a reference, but since it never assigns the pointer
anywhere, I do not see how it can ever free it later.

Please clue me in as to where it's released if it actually is.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-01 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01 18:41 Netdevice reference leak in af_ax25.c ?? Ben Greear
2005-09-01 18:56 ` Patrick McHardy
2005-09-01 19:02   ` Ben Greear
2005-09-01 19:30   ` Ralf Baechle
2005-09-01 19:42     ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).