Commit ff2d2bc
committed
ipmi:msghandler: Don't acquire a user refcount for queued messages
Messages already have a refcount for the user, so there's no need to
account for a new one.
As part of this, grab a refcount to the interface when processing
received messages. The messages can be freed there, cause the user
then the interface to be freed.
Signed-off-by: Corey Minyard <cminyard@mvista.com>1 parent 84fe1eb commit ff2d2bc
1 file changed
+17
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
975 | 969 | | |
976 | 970 | | |
977 | 971 | | |
| |||
4827 | 4821 | | |
4828 | 4822 | | |
4829 | 4823 | | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
4830 | 4831 | | |
4831 | 4832 | | |
4832 | 4833 | | |
4833 | 4834 | | |
4834 | 4835 | | |
4835 | 4836 | | |
4836 | 4837 | | |
4837 | | - | |
4838 | 4838 | | |
4839 | 4839 | | |
| 4840 | + | |
| 4841 | + | |
4840 | 4842 | | |
4841 | 4843 | | |
4842 | 4844 | | |
| |||
0 commit comments