diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-08-13 02:49:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-14 16:51:18 -0700 |
commit | 6024935f5ff5f1646bce8404416318e5fd4a0c4a (patch) | |
tree | 415b5d3ed804bd9b6ff77e9ec3869c2fbe32d19f /net/llc/af_llc.c | |
parent | 4855d6f3116e891b66198838b683dce3dcf6e874 (diff) | |
download | linux-6024935f5ff5f1646bce8404416318e5fd4a0c4a.tar.bz2 |
llc2: Fix silent failure of llc_station_init()
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>
Diffstat (limited to 'net/llc/af_llc.c')
0 files changed, 0 insertions, 0 deletions