llc2: Fix silent failure of llc_station_init()
authorBen Hutchings <ben@decadent.org.uk>
Mon, 13 Aug 2012 02:49:59 +0000 (02:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 23:51:18 +0000 (16:51 -0700)
llc_station_init() creates and processes an event skb with no effect
other than to change the state from DOWN to UP.  Allocation failure is
reported, but then ignored by its caller, llc2_init().  Remove this
possibility by simply initialising the state as UP.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found