dpif-linux: Fix file descriptor leak.
authorTetsuo NAKAGAWA <nakagawa@mxc.nes.nec.co.jp>
Thu, 25 Mar 2010 14:54:15 +0000 (10:54 -0400)
committerJesse Gross <jesse@nicira.com>
Thu, 25 Mar 2010 14:54:52 +0000 (10:54 -0400)
commited30fb10e116856481908b3c5af23f30aa5f7ff2
treef80d6edabe5c37463980dfece452b213b31d8855
parent4c77ea7fe06f9a09942e103d6fc42d37922b90fa
dpif-linux: Fix file descriptor leak.

get_major() opens /proc/devices to get the openvswitch major number
but never closes the FD.
lib/dpif-linux.c